Authorize CLI

This commit is contained in:
Brett Logan 2022-02-22 10:30:26 -05:00
parent 6c1bd98be5
commit 42221dee4c
No known key found for this signature in database
GPG key ID: 52ED7D1F56850EE6
2 changed files with 2 additions and 0 deletions

View file

@ -31,6 +31,7 @@ if [[ $(git status --porcelain) ]]; then
# Open pull request
echo "Opening pull request..."
echo "${GITHUB_TOKEN}" | gh auth login --with-token
gh pr create --title "Weekly NPM Updates" --body "Updates NPM dependencies" --base master --head "npm_deps_${id}"
else
echo "No changes to commit"

View file

@ -71,6 +71,7 @@ if [[ $(git status --porcelain) ]]; then
# Open pull request
echo "Opening pull request..."
echo "${GITHUB_TOKEN}" | gh auth login --with-token
gh pr create --title "Weekly Python Updates" --body "Updates Python dependencies" --base master --head "python_deps_${id}"
else
echo "No changes to commit"