Skip to content

Commit cc9d543

Browse files
EvangelinkGitHub Copilot
andauthored
Fix triage label being applied to github-actions bot issues (#7819)
Co-authored-by: GitHub Copilot <copilot@github.com>
1 parent c49d16f commit cc9d543

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/policies/LabelManagement.IssueOpened.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ configuration:
1313
- payloadType: Issues
1414
- isAction:
1515
action: Opened
16-
- or:
17-
- and:
18-
- not:
19-
activitySenderHasPermission:
20-
permission: Admin
21-
- not:
22-
activitySenderHasPermission:
23-
permission: Write
24-
- isActivitySender:
16+
- not:
17+
activitySenderHasPermission:
18+
permission: Admin
19+
- not:
20+
activitySenderHasPermission:
21+
permission: Write
22+
- not:
23+
isActivitySender:
2524
user: github-actions[bot]
2625
then:
2726
- addLabel:

0 commit comments

Comments
 (0)