This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Close stale issues and PR #292
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Close stale issues and PR" | |
on: | |
schedule: | |
- cron: "30 22 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@5ebf00ea0e4c1561e9b43a292ed34424fb1d4578 # v6.0.1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
remove-stale-when-updated: true | |
exempt-milestones: true | |
exempt-assignees: true | |
days-before-issue-stale: 40 | |
days-before-issue-close: 5 | |
exempt-issue-labels: "triage/accepted,kind/feature,good first issue" | |
stale-issue-message: "This issue is stale because it has been open for 40 days without any activity. Please remove the stale label or this will be closed in 5 days." | |
stale-issue-label: "stale" | |
days-before-pr-stale: 90 | |
days-before-pr-close: 14 | |
stale-pr-message: "This pull request is stale because it has been open for 90 days without any activity. Please remove the stale label or this will be closed in 14 days." | |
stale-pr-label: "stale" |