From 42221dee4cab65e6a52ab13b007fb9b9c3dbebe8 Mon Sep 17 00:00:00 2001 From: Brett Logan Date: Tue, 22 Feb 2022 10:30:26 -0500 Subject: [PATCH] Authorize CLI --- .github/scripts/update-npm.sh | 1 + .github/scripts/update-python.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/scripts/update-npm.sh b/.github/scripts/update-npm.sh index b7ea87a1..4af87df9 100755 --- a/.github/scripts/update-npm.sh +++ b/.github/scripts/update-npm.sh @@ -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" diff --git a/.github/scripts/update-python.sh b/.github/scripts/update-python.sh index e6a24632..1ecb1548 100755 --- a/.github/scripts/update-python.sh +++ b/.github/scripts/update-python.sh @@ -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"