From 45c8e1b21f6d228151ab0f46ba7cb3bc4a95a11a Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Sun, 9 May 2021 21:41:22 +0200 Subject: [PATCH] chore: add 'Close Stale Issues' workflow to clean up old issues --- .github/workflows/stale.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..f471ce76 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,18 @@ +name: Mark stale issues and pull requests +on: + schedule: + - cron: "30 1 * * *" +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been marked as stale due to inactivity. Please respond or otherwise resolve the issue within 7 days or it will be closed.' + stale-pr-message: 'This PR has been marked as stale due to inactivity. Please address any comments within 7 days or it will be closed.' + exempt-issue-labels: 'help wanted :octocat:' + exempt-pr-labels: 'WIP'