Skip to content

A free open source IT asset/license management system

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

Brady Wetherington8cbcc237c0c5
diff --git a/.github/stale.yml b/.github/stale.yml
deleted file mode 100644
index 82c01c9cee..0000000000
--- a/.github/stale.yml
+++ /dev/null
@@ -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!
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index a32069995e..61160a1240 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -3,17 +3,19 @@ on:
schedule:
- cron: '30 1 * * *'
-permissions:
- # contents: write # only for delete-branch option
- issues: write
- # pull-requests: write
-
jobs:
stale:
runs-on: ubuntu-latest
+ permissions:
+ # contents: write # only for delete-branch option
+ issues: write
+ # pull-requests: write
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'
\ No newline at end of file
+ exempt-issue-labels: >
+ pinned,security,:woman_technologist: ready for dev,:moneybag: bounty,:hand: bug,πŸ” security,πŸ‘©β€πŸ’» ready for dev,πŸ’° bounty,βœ‹ bug
\ No newline at end of file