This repository was archived by the owner on May 3, 2025. It is now read-only.
Commit ddad47a
committed
ci: Add script to view latest failed workflow logs
This commit adds a bash script named `get-latest-failed-gha-logs.sh` that automates the retrieval and display of failed GitHub Actions workflow logs.
The script uses `gh` CLI commands to:
- Fetch the latest workflow run ID.
- Determine the run's conclusion (success or failure).
- If the run failed, display the failed logs using `gh run view --log-failed`.1 parent 070117a commit ddad47a
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments