barrier/.github/workflows/stale.yml

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"