Skip to content

Try again to fix auto-merge labeler #9895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2024
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
21 changes: 11 additions & 10 deletions .github/policies/label-prs.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
id:
name: GitOps.PullRequestIssueManagement
description: GitOps.PullRequestIssueManagement primitive
owner:
resource: repository
disabled: false
where:

configuration:
resourceManagementConfiguration:
eventResponderTasks:
- if:
- description: Label main to live PRs
triggerOnOwnActions: true
if:
- payloadType: Pull_Request
- isActivitySender:
user: dotnet-policy-service
issueAuthor: False
- isAction:
action: Opened
- titleContains:
pattern: Merge main into live
isRegex: False
then:
- addLabel:
label: ':octocat: auto-merge'
triggerOnOwnActions: true
description: Label PRs from Dotnet Policy Service


Loading