Skip to content

Commit

Permalink
adds a GH action to label PRs without activity for more than 30 days … (
Browse files Browse the repository at this point in the history
  • Loading branch information
macohen authored May 22, 2024
2 parents d3f701a + a61ab10 commit e3c6654
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/stalled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Label Stalled PRs
on:
schedule:
- cron: '15 15 * * *' # Run every day at 15:15 UTC / 7:15 PST / 8:15 PDT
jobs:
cleanup:
runs-on: ubuntu-latest
name: Stale PRs
steps:
- uses: aws-actions/stale-issue-cleanup@v3
with:
stale-pr-message: This PR has been open without activity for more than 30 days. Labeling this issue stalled. Please close the PR if it is no longer necessary.
stale-issue-label: stalled
exempt-issue-labels: awaiting-approval
stale-pr-label: no-pr-activity
exempt-pr-labels: awaiting-approval
response-requested-label: response-requested

closed-for-staleness-label: closed-for-staleness

stale-pr-label: 'stalled'
stale-pr-message: 'This PR is stalled because it has been open for 30 days with no activity.'
days-before-stale: 30
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e3c6654

Please sign in to comment.