Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,25 @@ configuration:
- addLabel:
label: auto-merge

- description: Auto-approve/merge automated merge PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- isActivitySender:
user: github-actions
issueAuthor: False
- titleContains:
pattern: "[automated] Merge branch"
isRegex: False
- isAction:
action: Opened
then:
- approvePullRequest:
comment: Auto-approve
- addLabel:
label: auto-merge
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description says "auto-approve" but this seems to do just "auto-merge"? Ideally it should do both I think.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, updated


- description: Remove "Need More Info" on comment
triggerOnOwnActions: false
if:
Expand Down