From bbcfbb9f7ea9bd3ca8547b17c83071c6fa7e97d9 Mon Sep 17 00:00:00 2001 From: "Pierre F." Date: Fri, 29 May 2026 11:05:44 +0200 Subject: [PATCH] chore: add a worfklow for stale issues --- .github/workflows/stale.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..0ab8d40f --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +name: Mark stale issues + +on: + schedule: + - cron: '00 2 * * *' + +jobs: + stale: + + runs-on: ubuntu-latest + permissions: + issues: write + + steps: + - uses: actions/stale@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'Hey there, this issue will be closed after 7 days of inactivity' + stale-issue-label: 'stale' + close-issue-message: 'Closed for inactivity feel free to reopen if relevant'