Skip to content

Stale

Stale #2828

Workflow file for this run

name: Stale
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
contents: read
issues: write
pull-requests: write
jobs:
stale:
if: github.repository_owner == 'Ludy87'
runs-on: ubuntu-latest
steps:
# The 90 day stale policy for PRs
# Used for:
# - PRs
# - No issues (-1)
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: 90 days stale PRs policy
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 23
days-before-close: 7
remove-stale-when-updated: true
stale-issue-label: "stale"
stale-pr-label: "stale"
exempt-pr-labels: "wait"
exempt-issue-labels: "wait,help wanted,in progress"
stale-issue-message: >
This issue has now been marked as stale and will be closed if no
further activity occurs within 7 days.
Thank you for your contributions.
stale-pr-message: >
There hasn't been any activity on this pull request recently. This
pull request has been automatically marked as stale because of that
and will be closed if no further activity occurs within 7 days.
Thank you for your contributions.