Close stale issues and PR #850
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@3d90444e57a064a281f14e24fe555bfad0682c09 | |
with: | |
repo-token: ${{ secrets.DEFICHAIN_BOT_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" |