Skip to content

Commit

Permalink
Added stale PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksantamaria committed Oct 21, 2024
1 parent eb1266f commit 227ff3f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stale-issue-schedule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'

permissions:
contents: write # only for delete-branch option
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
exempt-pr-labels: "DO NOT MERGE"
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
days-before-stale: 28
days-before-close: 14

0 comments on commit 227ff3f

Please sign in to comment.