Skip to content

Commit

Permalink
Merge pull request #6023 from ministryofjustice/style/exempt-future-l…
Browse files Browse the repository at this point in the history
…abel-issues-from-stale

style: exempt issues with `future` label from stale
  • Loading branch information
tom-webber authored Aug 13, 2024
2 parents 25ce19d + 4b426a0 commit 75ff020
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/issue-pr-staler.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: 'Close stale issues and PRs'
name: 'Stale and close issues and PRs'

on:
schedule:
- cron: '30 1 * * *'

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

Expand All @@ -17,6 +17,7 @@ jobs:
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity.'
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
exempt-issue-labels: future
exempt-pr-labels: dependencies
days-before-stale: 60
days-before-close: 7
Expand Down

0 comments on commit 75ff020

Please sign in to comment.