mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Cleanup of Stale workflow for GH - set to debug-mode to start
This commit is contained in:
parent
97e3af8fc9
commit
8cbcc237c0
16
.github/stale.yml
vendored
16
.github/stale.yml
vendored
|
@ -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!
|
21
.github/workflows/stale.yml
vendored
21
.github/workflows/stale.yml
vendored
|
@ -3,17 +3,19 @@ on:
|
|||
schedule:
|
||||
- cron: '30 1 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# contents: write # only for delete-branch option
|
||||
issues: write
|
||||
# pull-requests: write
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
debug-only: true
|
||||
operations-per-run: 1000 # just while we're debugging
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: 60
|
||||
days-before-close: 7
|
||||
exempt-all-milestones: true
|
||||
|
@ -33,12 +35,5 @@ jobs:
|
|||
# There doesn't seem to be a 'reopen issue message'?
|
||||
# Since there is no 'stale-pr-message' - PR's should not be stale'd
|
||||
stale-issue-label: stale
|
||||
exempt-issue-labels:
|
||||
pinned,security,":woman_technologist:
|
||||
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'
|
||||
exempt-issue-labels: >
|
||||
pinned,security,:woman_technologist: ready for dev,:moneybag: bounty,:hand: bug,🔐 security,👩💻 ready for dev,💰 bounty,✋ bug
|
Loading…
Reference in a new issue