Created
May 14, 2021 13:38
-
-
Save aabed/d3663716166645f7a3252691e7a20e01 to your computer and use it in GitHub Desktop.
Test Github Actions With Force Push
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function replay() { | |
git add .;git commit --amend -m "testing pipeline";git push origin $(git branch --show-current) -f;sleep 5;gh run list | grep $(git branch --show-current)| head -n1 |awk '{print $NF}' |xargs -I {} gh run view {} | tail -1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment