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
24 changes: 13 additions & 11 deletions .github/policies/label-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ where:
configuration:
resourceManagementConfiguration:
eventResponderTasks:
- if:
- description: Label community PRs
if:
- payloadType: Pull_Request
- isAction:
action: Opened
Expand Down Expand Up @@ -38,29 +39,31 @@ configuration:
then:
- addLabel:
label: community-contribution
description: Label community PRs
- if:
- description: Label PRs from the Azure SDK bot
if:
- payloadType: Pull_Request
- isActivitySender:
user: azure-sdk
issueAuthor: False
then:
- approvePullRequest:
comment: "Approved, we'll :shipit: when all status checks pass."
comment: "Approved; this PR will merge when all status checks pass."
- addLabel:
label: ':octocat: auto-merge'
description: Label PRs from the Azure SDK bot
- if:
- description: Label PRs from Dotnet Policy Service
if:
- payloadType: Pull_Request
- isActivitySender:
user: dotnet-policy-service
issueAuthor: False
then:
- approvePullRequest:
comment: "Approved; this PR will merge when all status checks pass."
- addLabel:
label: ':octocat: auto-merge'
triggerOnOwnActions: true
description: Label PRs from Dotnet Policy Service
- if:
- description: Label PRs with okr-health
if:
- payloadType: Pull_Request
- or:
- titleContains:
Expand All @@ -72,8 +75,8 @@ configuration:
then:
- addLabel:
label: okr-health
description: Label PRs with okr-health
- if:
- description: Label PRs with okr-freshness
if:
- payloadType: Pull_Request
- or:
- titleContains:
Expand All @@ -85,4 +88,3 @@ configuration:
then:
- addLabel:
label: okr-freshness
description: Label PRs with okr-freshness