Skip to content

Mark stale issues and pull requests #1174

Mark stale issues and pull requests

Mark stale issues and pull requests #1174

Workflow file for this run

name: Mark stale issues and pull requests
on:
schedule:
- cron: '31 8 * * *'
permissions:
contents: read
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
disable-telemetry: true
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Issue automatically marked stale!'
stale-pr-message: 'Pull request automatically marked stale!'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
days-before-close: -1