From e6c1a5959a3d22183804bf16bf5e1c55ae9dafc2 Mon Sep 17 00:00:00 2001 From: Rahul Pratik Date: Wed, 22 Apr 2026 14:46:32 -0700 Subject: [PATCH] Fix stale github action workflow --- .github/stale.yml | 26 -------------------------- .github/workflows/stale.yml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 26 deletions(-) delete mode 100644 .github/stale.yml create mode 100644 .github/workflows/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 4246347..0000000 --- a/.github/stale.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Configuration for probot-stale - https://github.com/probot/stale - -# Number of days of inactivity before an Issue or Pull Request becomes stale -daysUntilStale: 90 - -# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. -# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. -daysUntilClose: 7 - -# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) -onlyLabels: [] - -# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable -exemptLabels: - - pinned - - security - -# Set to true to ignore issues with an assignee (defaults to false) -exemptAssignees: true - -# Comment to post when marking as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. If you'd - like this issue to stay open please leave a comment indicating how this issue - is affecting you. Thank you. diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..bdd022e --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,18 @@ +name: Mark stale PRs + +on: + schedule: + - cron: '0 12 * * 1-5' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This PR is stale because it has been open 21 days with no activity. If you would like this issue to stay open please leave a comment indicating how this issue is affecting you. Thank you.' + days-before-pr-stale: 14 + days-before-issue-stale: -1 + days-before-pr-close: 21 + days-before-issue-close: -1 + exempt-issue-labels: 'pinned,security,bug'