Update issue management workflows

This commit is contained in:
Daniel 2023-08-30 13:00:46 +02:00
parent 50167b6001
commit 10da834367

View file

@ -4,7 +4,8 @@ name: Close Stale Issues
on:
schedule:
- cron: "17 * * * 1-5" # run at 5:17 (UTC) on Monday to Friday
- cron: "17 5 * * 1-5" # run at 5:17 (UTC) on Monday to Friday
workflow_dispatch:
permissions:
contents: read
@ -17,6 +18,9 @@ jobs:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Increase max operations.
# When using GITHUB_TOKEN, the rate limit is 1,000 requests per hour per repository.
operations-per-run: 500
# Handle stale issues
stale-issue-label: 'stale'
# Exemptions
@ -35,3 +39,4 @@ jobs:
If the issue has not been resolved, you can [find more information in our Wiki](https://wiki.safing.io/) or [continue the conversation on our Discord](https://discord.gg/safing).
# TODO: Handle stale PRs
days-before-pr-stale: 36500 # 100 years - effectively disabled.