Skip to content

Commit

Permalink
ci: force rebase and autosquash before merging
Browse files Browse the repository at this point in the history
  • Loading branch information
frazarshad committed Aug 7, 2024
1 parent fc104e8 commit e7c21af
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ pull_request_rules:
conditions:
- base=master
- label=automerge:rebase
- linear-history
actions:
queue:
merge_method: merge
Expand All @@ -76,3 +77,11 @@ pull_request_rules:
actions:
queue:
merge_method: squash
- name: rebase and autosquash
conditions:
- base=master
- label=automerge:rebase
- -linear-history
actions:
rebase:
autosquash: true

0 comments on commit e7c21af

Please sign in to comment.