diff options
author | José Padilla <jpadilla@users.noreply.github.com> | 2022-05-15 14:55:46 -0400 |
---|---|---|
committer | José Padilla <jpadilla@users.noreply.github.com> | 2022-05-15 14:55:46 -0400 |
commit | ffd6a05c8248eedced9ade120e6688c8addab6e9 (patch) | |
tree | 4e97690c6b8e3643a61972844a75795557894774 | |
parent | 83ff831a4d11190e3a0bed781da43f8d84352653 (diff) | |
download | pyjwt-ffd6a05c8248eedced9ade120e6688c8addab6e9.tar.gz |
chore: add stale workflow
-rw-r--r-- | .github/workflows/stale.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..82b7549 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,25 @@ +name: 'Stale issue handler' +on: + workflow_dispatch: + schedule: + - cron: '30 1 * * *' + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v5 + id: stale + with: + stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days' + days-before-stale: 60 + days-before-close: 7 + stale-issue-label: stale + stale-pr-label: stale + exempt-issue-labels: 'blocked,must,should,keep' + - name: Print outputs + run: echo ${{ join(steps.stale.outputs.*, ',') }} |