Skip to content

Instantly share code, notes, and snippets.

@danielpza
Last active August 23, 2024 01:56
Show Gist options
  • Save danielpza/8e844d4c264dee8659c83fa9c3003eba to your computer and use it in GitHub Desktop.
Save danielpza/8e844d4c264dee8659c83fa9c3003eba to your computer and use it in GitHub Desktop.
gh cli extension to check the status of the last pushed commit
#!/usr/bin/env bash
set -e
commit="$(git rev-parse HEAD)"
while true; do
clear
gh run list --commit "$commit"
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment