Skip to content

Commit

Permalink
DYN-6372 Update close stale issues workflow
Browse files Browse the repository at this point in the history
- remove obsolete arg `skip-stale-issue-message`
- add step to print summary
  • Loading branch information
avidit committed Oct 31, 2023
1 parent cbdd6a4 commit 8ca8c43
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/close_stale_issues.yaml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/close_stale_issues.yml
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

0 comments on commit 8ca8c43

Please sign in to comment.