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@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.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