mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-13 07:06:10 +08:00
What the subject line says really. As per @walker0643's feedback, the stale bot now encourages the author of the issue/PR to close it themselves, if it is no longer an issue, or if they no longer want to work on the PR. Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
name: Mark stale issues and pull requests
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "00 0 * * *"
|
|
|
|
jobs:
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/stale@v3
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
stale-issue-message: "Is this issue still an issue for you? Please do comment and let us know! Alternatively, you may close the issue yourself if it is no longer an problem"
|
|
stale-pr-message: "Is this PR still being worked on? Please do comment and let us know! Alternatively, you may close the PR yourself if you no longer wish to work on the PR."
|
|
|
|
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: 182
|
|
days-before-close: -1
|
|
|
|
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"
|