From 10143fdee25742c232d100cc2b717dce078151ca Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 5 Oct 2022 13:56:58 +0200 Subject: [PATCH] ci: stale issues [skip ci] --- .github/workflows/lock.yml | 5 +++-- .github/workflows/stale.yml | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index ee0eefb..3cc1bf6 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -1,8 +1,8 @@ -name: Lock Threads +name: Lock Issues on: schedule: - - cron: '0 0 * * Mon' + - cron: '0 2 * * *' jobs: lock: @@ -13,3 +13,4 @@ jobs: github-token: ${{ github.token }} issue-inactive-days: '90' pr-inactive-days: '90' + log-output: true diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..8d8c9ff --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +name: Stale Issues +on: + schedule: + - cron: '0 1 * * *' + +permissions: + issues: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale + with: + days-before-stale: 90 + days-before-close: 30 + stale-issue-label: stale + stale-issue-message: > + This issue has been automatically marked as stale. **If this issue is still affecting you, please leave any comment**, and we'll keep it open. If you have any new additional information, please include it with your comment! + close-issue-message: > + This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue.