[actions](stale): Add further configuration to GitHub Action - stale.

This commit fleshes out the messages and labels applied to stale
issuse/PRs, configures 'exempt' labels, and additionally the number of
days before a issue is marked stale/closed.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
Dom Rodriguez 2020-09-17 16:52:15 +01:00
parent 0699536382
commit 012a7dc055
No known key found for this signature in database
GPG Key ID: 72DCF1231E54BD43

View File

@ -13,7 +13,18 @@ jobs:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
stale-issue-message: "This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions."
stale-pr-message: "This PR has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions."
close-issue-message: "This issue will now be closed due to inactivty. It may be reopened if the demand indicates it should be."
close-pr-message: "This PR will now be closed due to inactivty. It may be reopened if the demand indicates it should be."
days-before-stale: 60
days-before-close: 7
stale-issue-label: "no-issue-activity"
stale-pr-label: "no-pr-activity"
exempt-issue-labels: "work-in-progress,security,critical"
exempt-pr-labels: "awaiting-approval,work-in-progress"