Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Update to an action
Browse files Browse the repository at this point in the history
Signed-off-by: Tracy Kuhrt <[email protected]>
  • Loading branch information
tkuhrt committed Jun 5, 2023
1 parent a4107a0 commit ad0b636
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/stale.yml
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

0 comments on commit ad0b636

Please sign in to comment.