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"