Skip to content

Commit

Permalink
chore: restored old config
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jun 21, 2023
1 parent e197ac4 commit 1c835b0
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
29 changes: 29 additions & 0 deletions .mergify/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
shared:
my_ci: &common_checks
- check-success=build

queue_rules:
- name: hotfix
merge_conditions: *common_checks

- name: default
merge_conditions:
- check-success=build
- and: *common_checks

pull_request_rules:
- name: Default merge
conditions:
- base=master
- and: *common_checks
actions:
queue:
name: default

- name: Hotfix merge
conditions:
- base=master
- label=hotfix
actions:
queue:
name: hotfix
4 changes: 0 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ def hello():
print("hello world")


def hello_2():
print("hello world 2")


def sum_two_numbers(a, b):
return a + b

0 comments on commit 1c835b0

Please sign in to comment.