From 02ccca1551f2d52bfe75d852e4ca0e848b50c5fd Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Tue, 20 Sep 2022 11:50:08 +0200 Subject: [PATCH] Configure actions/stale --- .github/workflows/stale.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..548bf23d --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,32 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v5 + with: + days-before-stale: 90 + days-before-close: 60 + exempt-issue-labels: 'pinned,security' + exempt-pr-labels: 'pinned,security' + 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. + +If this is still an issue for you, please try to help by debugging it +further and sharing your results. + +Thank you for your contributions.' + stale-pr-message: 'This PR has been automatically marked as stale because it has not had +recent activity. It will be closed if no further activity occurs. + +If this is still an issue for you, please try to complete the PR by adding tests and making sure that the CI is green. + +Thank you for your contributions.'