Last active
December 5, 2023 23:03
-
-
Save dwelch2344/3f4d6e5bd172e5f148e55a192e64e321 to your computer and use it in GitHub Desktop.
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
git add -A; \ | |
git commit --amend --no-edit; \ | |
git push -f; \ | |
gh workflow run example-workflow.yml --ref example_branch; \ | |
sleep 2; \ | |
gh run list --json url --workflow=example-workflow.yml \ | |
| jq -r '.[0].url' \ | |
| xargs open |
V2:
- Line 9: pipe the url to
open
(passing the stdin as an input viaxargs
)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Interesting tidbits:
workflow
AGAINSTbranch