From 8cbcc237c0c587f05dd5e6e96bb900507c249d84 Mon Sep 17 00:00:00 2001 From: Brady Wetherington Date: Wed, 24 Jul 2024 13:27:31 +0100 Subject: [PATCH] Cleanup of Stale workflow for GH - set to debug-mode to start --- .github/stale.yml | 16 ---------------- .github/workflows/stale.yml | 23 +++++++++-------------- 2 files changed, 9 insertions(+), 30 deletions(-) delete mode 100644 .github/stale.yml 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