Skip to content

Close stale issues and PRs #2799

Close stale issues and PRs

Close stale issues and PRs #2799

Workflow file for this run

name: "Close stale issues and PRs"
permissions: read-all
on:
schedule:
- cron: "0 * * * *"
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
days-before-stale: 60
days-before-close: 14
operations-per-run: 100
remove-stale-when-updated: true
exempt-issue-labels: "good first issue,V2 Wishlist,backlog"
exempt-all-assignees: true
ignore-updates: false
stale-issue-label: stale
stale-issue-message: |
This issue has not had any activity for 60 days and will be automatically closed in two weeks
See https://github.com/google/osv-scanner/blob/main/CONTRIBUTING.md for how to contribute a PR if you're interested in helping out.
stale-pr-label: stale
stale-pr-message: |
This pull request has not had any activity for 60 days and will be automatically closed in two weeks
close-issue-label: "autoclosed"
close-issue-message: |
Automatically closing stale issue
close-pr-label: "autoclosed"
close-pr-message: |
Automatically closing stale pull request