From 4d0045ff182a8b16bbb4e33742940e3bc0f707d9 Mon Sep 17 00:00:00 2001 From: loverustfs Date: Sat, 3 Jan 2026 11:42:12 +0800 Subject: [PATCH] Add workflow to mark stale issues automatically Add workflow to mark stale issues automatically Signed-off-by: loverustfs --- .github/workflows/stale.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..2f334234 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,20 @@ +name: "Mark stale issues" +on: + schedule: + - cron: "30 1 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.' + stale-issue-label: 'stale' + ## Mark if there is no activity for more than 7 days + days-before-stale: 7 + # If no one responds after 3 days, the tag will be closed. + days-before-close: 3 + # These tags are exempt and will not close automatically. + exempt-issue-labels: 'pinned,security'