Skip to content

Commit 3665db9

Browse files
authored
chore: add issue reprioritization action (#19758)
Add an issue graduation action with the following configuration: - run once a week on Sunday - finds `p2` issues and graduates them to `p1` if there are 20+ reactions - on every graduated issue, provides an automated message: "This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue." See the action [here](https://github.com/kaizen3031593/issue-graduation-manager). ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent f5fdcc2 commit 3665db9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: issue-reprioritization
2+
on:
3+
schedule:
4+
- cron: "0 0 * * 0"
5+
6+
jobs:
7+
issue-reprioritization:
8+
permissions:
9+
issues: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: kaizen3031593/issue-reprioritization-manager@main
13+
id: reprioritization-manager
14+
with:
15+
github-token: ${{ secrets.GITHUB_TOKEN }}
16+
original-label: p2
17+
new-label: p1
18+
reprioritization-threshold: 20
19+
- uses: kaizen3031593/pr-triage-manager@main
20+
with:
21+
github-token: ${{ secrets.GITHUB_TOKEN }}
22+
on-pulls: ${{ steps.reprioritization-manager.outputs.linked-pulls }}

0 commit comments

Comments
 (0)