Stale issue handler #1011
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Stale issue handler" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@main | |
id: stale | |
with: | |
stale-issue-label: "stale" | |
stale-issue-message: 'This issue has been automatically marked as stale because it has been open for 14 days without activity. It will be closed if no further activity occurs within the next 14 days. If this is still an issue, just leave a comment or remove the "stale" label.' | |
days-before-stale: 14 | |
days-before-close: 14 | |
operations-per-run: 1000 | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
exempt-issue-labels: 'type: bug, type: docs, type: feature, type: improvement, type: question' # All 'type: ' labels | |
- name: Print outputs | |
run: echo ${{ join(steps.stale.outputs.*, ',') }} |