Skip to content

Commit c92fe4b

Browse files
authored
Exclude dependabot from community-contribution labeling (#101742)
* Exclude dependabot from community-contribution labeling * Normalize line endings to Unix style. Remove trailing white space.
1 parent 4aa4bb2 commit c92fe4b

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

Diff for: .github/policies/resourceManagement.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
id:
1+
id:
22
name: GitOps.PullRequestIssueManagement
33
description: GitOps.PullRequestIssueManagement primitive
4-
owner:
4+
owner:
55
resource: repository
66
disabled: false
7-
where:
7+
where:
88
configuration:
99
resourceManagementConfiguration:
1010
scheduledSearches:
@@ -1605,7 +1605,7 @@ configuration:
16051605
label: needs-breaking-change-doc-created
16061606
- addReply:
16071607
reply: >-
1608-
Added `needs-breaking-change-doc-created` label because this issue has the `breaking-change` label.
1608+
Added `needs-breaking-change-doc-created` label because this issue has the `breaking-change` label.
16091609
16101610
16111611
1. [ ] Create and link to this issue a matching issue in the dotnet/docs repo using the [breaking change documentation template](https://aka.ms/dotnet/docs/new-breaking-change-issue), then remove this `needs-breaking-change-doc-created` label.
@@ -1623,7 +1623,7 @@ configuration:
16231623
label: needs-breaking-change-doc-created
16241624
- addReply:
16251625
reply: >-
1626-
Added `needs-breaking-change-doc-created` label because this PR has the `breaking-change` label.
1626+
Added `needs-breaking-change-doc-created` label because this PR has the `breaking-change` label.
16271627
16281628
16291629
When you commit this breaking change:
@@ -1927,6 +1927,10 @@ configuration:
19271927
isActivitySender:
19281928
user: github-actions
19291929
issueAuthor: False
1930+
- not:
1931+
isActivitySender:
1932+
user: dependabot[bot]
1933+
issueAuthor: False
19301934
then:
19311935
- addLabel:
19321936
label: community-contribution
@@ -2093,5 +2097,5 @@ configuration:
20932097
- removeLabel:
20942098
label: backlog-cleanup-candidate
20952099
description: Remove `no-recent-activity` label from PRs when new review is added
2096-
onFailure:
2097-
onSuccess:
2100+
onFailure:
2101+
onSuccess:

0 commit comments

Comments
 (0)