Cleanup of Stale workflow for GH - set to debug-mode to start

This commit is contained in:
Brady Wetherington 2024-07-24 13:27:31 +01:00
parent 97e3af8fc9
commit 8cbcc237c0
2 changed files with 9 additions and 30 deletions

16
.github/stale.yml vendored
View file

@ -1,16 +0,0 @@
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
- :woman_technologist: ready for dev
- :moneybag: bounty
- :hand: bug
- "🔐 security"
- "👩‍💻 ready for dev"
- "💰 bounty"
- "✋ bug"
# Comment to post when removing the stale label.
unmarkComment: >
Okay, it looks like this issue or feature request might still be important. We'll re-open
it for now. Thank you for letting us know!

View file

@ -3,17 +3,19 @@ on:
schedule: schedule:
- cron: '30 1 * * *' - cron: '30 1 * * *'
permissions:
# contents: write # only for delete-branch option
issues: write
# pull-requests: write
jobs: jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
# contents: write # only for delete-branch option
issues: write
# pull-requests: write
steps: steps:
- uses: actions/stale@v9 - uses: actions/stale@v9
with: with:
debug-only: true
operations-per-run: 1000 # just while we're debugging
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60 days-before-stale: 60
days-before-close: 7 days-before-close: 7
exempt-all-milestones: true exempt-all-milestones: true
@ -33,12 +35,5 @@ jobs:
# There doesn't seem to be a 'reopen issue message'? # There doesn't seem to be a 'reopen issue message'?
# Since there is no 'stale-pr-message' - PR's should not be stale'd # Since there is no 'stale-pr-message' - PR's should not be stale'd
stale-issue-label: stale stale-issue-label: stale
exempt-issue-labels: exempt-issue-labels: >
pinned,security,":woman_technologist: pinned,security,:woman_technologist: ready for dev,:moneybag: bounty,:hand: bug,🔐 security,👩‍💻 ready for dev,💰 bounty,✋ bug
ready for dev",":moneybag:
bounty",:hand: bug,"🔐 security","👩‍💻 ready for dev","💰 bounty","✋ bug"
# stale-pr-message: 'Message to comment on stale PRs. If none provided, will not mark PRs stale'