Skip to content

Label and close stale issues #1236

Label and close stale issues

Label and close stale issues #1236

Workflow file for this run

---
name: Label and close stale issues
on: # yamllint disable-line rule:truthy
schedule:
- cron: 0 10 * * * # everyday at 10am
workflow_dispatch:
permissions:
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # tag=v2.14.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # tag=v10.1.1
with:
days-before-stale: 28
days-before-close: 7
stale-issue-message: >-
This issue has been automatically marked as stale because it has been
inactive for 28 days. To reactivate the issue, simply post a comment
with the requested information to help us diagnose this issue. If this
issue remains inactive for another 7 days, it will be automatically
closed.
close-issue-message: >-
This issue has been automatically closed due to inactivity. If you are
still experiencing problems, please open a new issue.
stale-issue-label: "stale :skull:"
only-labels: "needs more info :thinking:"