fix(ci): improve workflow logging and bot notifications

- Link pre-commit bot comment to workflow run instead of PR for better debugging
- Dump docker container logs before removal to ensure logs are actually captured
This commit is contained in:
Ashwin Bharambe 2025-10-20 22:02:55 -07:00
parent 122de785c4
commit dd5182ceed
3 changed files with 6 additions and 5 deletions

View file

@ -99,7 +99,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: ${{ steps.check_author.outputs.pr_number }},
body: `⏳ Running pre-commit hooks on PR #${{ steps.check_author.outputs.pr_number }}...`
body: `⏳ Running [pre-commit hooks](https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}) on PR #${{ steps.check_author.outputs.pr_number }}...`
});
- name: Checkout PR branch (same-repo)