From 368164b5679c2e7c23a32fdf1070cefd26968400 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sat, 31 May 2025 09:58:13 +0700 Subject: [PATCH] Create stale.yaml --- .github/workflows/stale.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 0000000..b821c66 --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,24 @@ +name: 'Mark stale bug issues' + +on: + schedule: + - cron: '0 0 * * *' # Runs daily at midnight UTC + +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: | + This issue has been marked `stale` due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. + close-issue-message: | + This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details. + days-before-stale: 60 + days-before-close: 30 + stale-issue-label: 'stale' + only-issues: true + only-labels: 'bug'