Skip to content

Commit

Permalink
Update close stale issues workflow (#14577)
Browse files Browse the repository at this point in the history
* Update close stale issues workflow

- update summary step

* Update close stale issues workflow
  • Loading branch information
avidit authored Nov 7, 2023
1 parent b28faaa commit c64fe07
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/close_stale_issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
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
- name: Summary # Print markdown list of closed issues or "No Issues" message if no issues were closed
env:
ISSUES_URL: ${{ format('{0}/{1}/issues', github.server_url, github.repository) }}
CLOSED_ISSUES: ${{ steps.close_issues.outputs.closed-issues-prs }}
run: |
echo "# Closed Issues" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "${{ steps.close_issues.outputs.closed-issues-prs }}" >> $GITHUB_STEP_SUMMARY
echo '# Closed Issues' >> $GITHUB_STEP_SUMMARY
echo '${{ env.CLOSED_ISSUES }}' | jq --raw-output ' if (. == []) then "- No Issues." else .[] | "- \(.title) - [#\(.number)](\(${{ env.ISSUES_URL }})/\(.number))" end' >> $GITHUB_STEP_SUMMARY

0 comments on commit c64fe07

Please sign in to comment.