name: GitHub Stale Issues on: schedule: - cron: '30 1 * * *' workflow_dispatch: jobs: stale: permissions: issues: write pull-requests: write discussions: write runs-on: ubuntu-latest steps: - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0 with: days-before-issue-stale: 14 days-before-pr-stale: -1 days-before-close: 14 stale-issue-message: | ## :hourglass_flowing_sand: Stale issue warning This issue is stale because it has been open 14 days with no activity. Comment or this will be automatically closed in 14 days. _Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._ close-issue-message: | ## :no_entry_sign: Stale issue closure This issue was closed because it has been stalled for 14 days with no activity. Only repository collaborators will be able to re-open this issue. _Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._ stale-issue-label: 'stale' only-labels: 'question'