Skip to content

Stale cleanup

Stale cleanup #94

Workflow file for this run

name: Stale cleanup
on:
schedule:
- cron: "0 4 * * *"
concurrency:
group: stale-${{ github.ref }}
cancel-in-progress: false
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Harden runner (audit mode)
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10
with:
days-before-stale: 60
days-before-close: 14
days-before-pr-stale: 45
days-before-pr-close: 14
stale-issue-message: >-
This issue has been automatically marked as stale because it has
not had recent activity. It will be closed in 14 days if no further
activity occurs.
stale-pr-message: >-
This pull request has been automatically marked as stale due to
inactivity. It will be closed in 14 days if no further activity
occurs.
close-issue-message: "Closing as stale due to inactivity."
close-pr-message: "Closing PR as stale due to inactivity."
stale-issue-label: "stale"
stale-pr-label: "stale"
exempt-issue-labels: "pinned,security,bernstein:in-progress"
exempt-pr-labels: "pinned,work-in-progress,do-not-close"