From 09d8e39b1c18980951b2255c3a2e4064a4200784 Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Tue, 8 Nov 2022 18:24:15 +0100 Subject: [PATCH] Add mark stale issues action (#31) * Add stale issues action * Update stale.yml * Update stale.yml --- .github/workflows/stale.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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 0000000..3b400e7 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,22 @@ +name: Mark stale issues + +on: + schedule: + - cron: '0 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/stale@v6 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is marked stale because it has no activity in the last 3 weeks. The issue will be closed in one week. Please remove the stale flag to keep it open.' + close-issue-message: 'This issue was closed due to no activity.' + days-before-issue-stale: 21 + days-before-issue-close: 7 + stale-issue-label: 'stale' + days-before-pr-stale: -1 + days-before-pr-close: -1 \ No newline at end of file