[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:
parent
0699536382
commit
012a7dc055
|
@ -13,7 +13,18 @@ jobs:
|
||||||
- uses: actions/stale@v1
|
- uses: actions/stale@v1
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-issue-message: 'Stale issue message'
|
|
||||||
stale-pr-message: 'Stale pull request message'
|
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-issue-label: 'no-issue-activity'
|
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."
|
||||||
stale-pr-label: 'no-pr-activity'
|
|
||||||
|
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"
|
||||||
|
|
Loading…
Reference in New Issue