forked from aws/aws-cdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add labels to pr based off comment content and labels already …
…added (aws#24095) This will help us find the PRs that need attention even when they don't pass the PR Linter, the build, and/or already have changes requested. The GitHub action adds a label for cli tests needed, for clarification requested, and for exemptions requested. The PR linter output has been updated with a message to let contributors know to use these. I added in both the review comment and the regular comment so that it's not easy to miss. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
1 parent
e89b9ef
commit a066467
Showing
3 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: pr-linter-exemption-labeler | ||
on: | ||
issue_comment: | ||
types: | ||
- created | ||
- edited | ||
- deleted | ||
|
||
jobs: | ||
pr_commented: | ||
name: PR Comment | ||
if: ${{ (github.event.issue.pull_request) && (github.event.issue.state == 'open') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: TheRealAmazonKendra/pr-linter-exemption-labeler@main | ||
with: | ||
github-token: ${{ secrets.PROJEN_GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters