-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from customink/bot/manual-update-global-workfl…
…ow-master-sb4wqx Update stale.yml config
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Bump/Close inactive PRs | ||
on: | ||
schedule: | ||
- cron: "0 5 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
days-before-pr-stale: 30 | ||
days-before-pr-close: 90 | ||
|
||
stale-pr-label: "stale" | ||
stale-pr-message: "This PR is open and inactive for 30 days. Merging PRs open for a long time is error-prone. Please proceed to merging or make a comment to keep it open. You can also prevent PRs from being tagged stale ot closed with 'keep-open' tag. If there is no activity in 90 days, this PR will be closed" | ||
close-pr-message: "This PR was closed because it has been inactive for 90 days since being marked as stale." | ||
|
||
exempt-pr-labels: "keep-open,dependabot,dependencies" | ||
|
||
repo-token: ${{ secrets.GITHUB_TOKEN }} |