diff options
Diffstat (limited to '.github/workflows/stale.yml')
-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.*, ',') }} |