Last active
February 6, 2024 12:58
-
-
Save caugner/4f639261a1e6cc671ed600e5dc691334 to your computer and use it in GitHub Desktop.
Rerun failed workflow
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 --workflow 'auto-merge' --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