-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DYN-6372 Update close stale issues workflow
- remove obsolete arg `skip-stale-issue-message` - add step to print summary
- Loading branch information
Showing
2 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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: Close stale issues | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
close_stale_issues: | ||
name: Close stale issues | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Close Issues | ||
id: close_issues | ||
uses: actions/stale@v8 | ||
with: | ||
days-before-stale: 30 | ||
days-before-close: 0 | ||
only-labels: needs more info | ||
close-issue-message: Given that there has been no additional information added, this issue will be closed for now. Please reopen and provide additional information if you wish the Dynamo team to investigate further. | ||
- name: Summary | ||
run: | | ||
echo "# Closed Issues" >> $GITHUB_STEP_SUMMARY | ||
echo "" >> $GITHUB_STEP_SUMMARY | ||
echo "${{ steps.close_issues.outputs.closed-issues-prs }}" >> $GITHUB_STEP_SUMMARY |