-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(actions): fix stale issue management. (#2035)
- Loading branch information
1 parent
b53b71e
commit 16142e0
Showing
1 changed file
with
15 additions
and
18 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,23 +1,20 @@ | ||
name: 'Close Stale Issues' | ||
|
||
on: | ||
schedule: | ||
• cron: '30 1 * * *' # This will run the workflow daily at 1:30 UTC | ||
|
||
schedule: | ||
- cron: '30 1 * * *' # This will run the workflow daily at 1:30 UTC | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
• uses: actions/stale@v4 | ||
|
||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 60 | ||
days-before-close: 7 | ||
stale-issue-message: 'This issue has been inactive for 60 days and is being marked as stale.' | ||
close-issue-message: 'This issue has been closed due to inactivity.' | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 60 | ||
days-before-close: 7 | ||
stale-issue-message: 'This issue has been inactive for 60 days and is being marked as stale.' | ||
close-issue-message: 'This issue has been closed due to inactivity.' |