Created
July 21, 2024 09:06
-
-
Save adamralph/b41c6b0bddf0b5c1e0ddb418493c2ee4 to your computer and use it in GitHub Desktop.
Rebase all dependabot PRs
This file contains hidden or 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
gh search prs \ | |
--repo myorg/myrepo \ | |
--state open \ | |
--label dependencies \ | |
--limit 200 \ | |
--json "url" --jq ".[] | .url" \ | |
| xargs -n 1 -I{} \ | |
gh pr comment -b "@dependabot rebase" {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment