Skip to content

Instantly share code, notes, and snippets.

@KyMidd

KyMidd/asdf.sh Secret

Created December 4, 2022 18:52
Show Gist options
  • Select an option

  • Save KyMidd/c7508c3fd67ccdb327409aa66004b827 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/c7508c3fd67ccdb327409aa66004b827 to your computer and use it in GitHub Desktop.
# Org
if [ -z "$GH_ORG" ]; then
echo "Your GH_ORG variable appears blank, make sure to call this script with the org as your first argument, like this:"
echo "./findAllPrsWithName YourOrgNameHere \"PR name goes here\""
exit 1
fi
# PR Title
if [ -z "$PR_TITLE" ]; then
echo "Your PR_TITLE variable appears blank, make sure to call this script with the repo title as your second argument, like this:"
echo "./findAllPrsWithName YourOrgNameHere \"PR title goes here\""
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment