From: Donatas Abraitis Date: Fri, 10 Jun 2022 07:03:05 +0000 (+0300) Subject: github: Mark issues with no activity in 180 days as stale X-Git-Tag: base_8.4~371^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F11388%2Fhead;p=mirror%2Ffrr.git github: Mark issues with no activity in 180 days as stale Signed-off-by: Donatas Abraitis --- diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..df9f5ce5b3 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,20 @@ +name: Mark stale issues + +on: + workflow_dispatch: + schedule: + - cron: "30 1 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this issue closed.' + stale-issue-label: autoclose + days-before-stale: 180 + days-before-close: -1 + days-before-pr-stale: -1 + days-before-pr-close: -1