This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
forked from hyperledger-labs/documentation-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tracy Kuhrt <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
19 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 |
---|---|---|
@@ -1,20 +1,21 @@ | ||
# Copyright 2023 Hyperledger Labs. | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
|
||
# Number of days of inactivity before an Issue or Pull Request becomes stale | ||
daysUntilStale: 30 | ||
# Number of days of inactivity before a stale Issue or Pull Request is closed | ||
daysUntilClose: 60 | ||
# Number of days of inactivity before a reminder comment is posted. Set to `false` to disable | ||
daysBeforeReminder: 14 | ||
# Only issues or pull requests with all of these labels are checked if stale. Defaults to `[]` (disabled) | ||
onlyLabels: | ||
- awaiting response | ||
# Comment to post when marking as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you. | ||
# Comment to post when removing the stale label. Set to `false` to disable | ||
unmarkComment: false | ||
closeComment: > | ||
Closing as stale. Please reopen if you'd like to work on this further. | ||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
with: | ||
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.' | ||
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.' | ||
stale-issue-label: 'stale' | ||
stale-pr-label: 'stale' | ||
close-issue-message: 'This issue was closed because it has been stalled with no activity.' | ||
close-pr-message: 'This PR was closed because it has been stalled with no activity.' | ||
days-before-stale: 30 | ||
days-before-close: 7 | ||
only-labels: 'awaiting response' | ||
ignore-updates: true |