Issue Mgmt: Disable stale PR handling

This commit is contained in:
Daniel 2023-08-30 12:58:32 +02:00
parent f3e752f406
commit 8d792bdacc

View file

@ -5,6 +5,7 @@ name: Close Stale Issues
on: on:
schedule: schedule:
- cron: "17 5 * * 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: permissions:
contents: read contents: read
@ -17,6 +18,9 @@ jobs:
- uses: actions/stale@v8 - uses: actions/stale@v8
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} 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 # Handle stale issues
stale-issue-label: 'stale' stale-issue-label: 'stale'
# Exemptions # 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). 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 # TODO: Handle stale PRs
days-before-pr-stale: 36500 # 100 years - effectively disabled.