Skip to content

Instantly share code, notes, and snippets.

View pavelpulec's full-sized avatar

Pavel Pulec pavelpulec

  • 09:41 (UTC +02:00)
View GitHub Profile
@pavelpulec
pavelpulec / github-pass-checks
Last active August 11, 2024 11:12
Make all GitHub Status Checks success.
#!/usr/bin/env bash
# Makes all GitHub Status Checks success.
# Usage:
# github-pass-checks https://github.com/<owner>/<repo>/pull/<pull_nr>
[ "$#" -eq 1 ] || {
basename=$(basename "$0")
echo "Usage: $basename https://github.com/<owner>/<repo>/pull/<pr_num>";
exit 1;