Show only failed logs github-actions
Print logs of failed steps only, skipping noise from passing jobs
gh run view <id> --log-failed | less -R
more github-actions
all 7 commands →
Run a job locally with act
act -j build --secret-file .secrets -P ubuntu-latest=catthehacker/ubuntu:act-22.04
Rerun only failed jobs
gh run rerun <id> --failed
List and prune caches
gh cache list --sort size_in_bytes --order desc; gh cache delete <id>
OIDC keyless cloud auth
permissions:
id-token: write
contents: read
Trigger workflow with inputs
gh workflow run deploy.yml -f env=prod -f version=1.4.2 --ref main