Skip to content

Commit

Permalink
mergify: Remove ready-to-merge label when PR is closed
Browse files Browse the repository at this point in the history
This way the ready-to-merge label can be used to filter PRs that are stalled.
Mergify considers a merged PR closed, so we don't need to add it explicitly.
  • Loading branch information
mmlb committed Apr 1, 2022
1 parent c509027 commit 6c7aa61
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ pull_request_rules:
{{ title }} (#{{ number }})
{{ body }}
- name: remove ready-to-merge label when no longer needed
conditions:
- closed
actions:
label:
remove:
- ready-to-merge

0 comments on commit 6c7aa61

Please sign in to comment.