Skip to content

Commit

Permalink
Merge pull request #39314 from dotnet/jeffhandley/good-first-issue
Browse files Browse the repository at this point in the history
Make the good-first-issue policy standalone. Limit to Opened action.
  • Loading branch information
jeffhandley authored Jan 31, 2024
2 parents d3c9cc1 + d7941f2 commit 7c99320
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 13 deletions.
23 changes: 23 additions & 0 deletions .github/policies/good-first-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
id: good-first-issue
name: GitOps.PullRequestIssueManagement
description: Label new "typo" issues as good first issues
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
eventResponderTasks:
- if:
- payloadType: Issues
- isAction:
action: Opened
- titleContains:
pattern: (T|t)ypo
isRegex: True
then:
- addLabel:
label: doc-bug
- addLabel:
label: help wanted
- addLabel:
label: good first issue
13 changes: 0 additions & 13 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,6 @@ configuration:
then:
- disableAutoMerge
description: Auto-merge Azure SDK PRs with green builds
- if:
- payloadType: Issues
- titleContains:
pattern: (T|t)ypo
isRegex: True
then:
- addLabel:
label: doc-bug
- addLabel:
label: help wanted
- addLabel:
label: good first issue
description: Label typo issues as help wanted
- if:
- payloadType: Pull_Request
then:
Expand Down

0 comments on commit 7c99320

Please sign in to comment.