Created
February 6, 2024 12:59
-
-
Save caugner/44126663b922be7028b029a767873a97 to your computer and use it in GitHub Desktop.
Rerun failed workflow runs for current commit
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
#!/usr/bin/env sh | |
gh run list -c `git rev-parse HEAD` --status=failure --json 'databaseId' | jq -r '.[] | .databaseId' | xargs -n1 gh run rerun --failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment