Skip to content

Commit

Permalink
Try adding an additional condition to catch AutoMerge not being enabl…
Browse files Browse the repository at this point in the history
  • Loading branch information
Trenly authored Mar 7, 2024
1 parent 46924f3 commit fb56c37
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/policies/automergeTriggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ configuration:
- description: Enable Auto Merge when the "Validation-Completed" label is present
if:
- payloadType: Pull_Request
- hasLabel:
label: Validation-Completed
- or:
- labelAdded:
label: Validation-Completed
- hasLabel:
label: Validation-Completed
then:
- enableAutoMerge:
mergeMethod: Squash
Expand Down

0 comments on commit fb56c37

Please sign in to comment.