Fix run URLs in CI comments

This commit is contained in:
Jarred Sumner
2024-04-30 01:03:39 -07:00
parent 74c6bd4197
commit ee0e69702e
2 changed files with 12 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ jobs:
else
echo -e "✅ @${{ github.actor }}, all tests passed!" > comment.md
fi
echo -e "\n**[View logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})**" >> comment.md
echo -e "\n**[View logs](https://github.com/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }})**" >> comment.md
echo -e "<!-- generated-comment workflow=${{ github.workflow }} -->" >> comment.md
- name: Find Comment
id: comment