mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 05:02:15 -05:00
Authorize CLI
This commit is contained in:
parent
6c1bd98be5
commit
42221dee4c
2 changed files with 2 additions and 0 deletions
1
.github/scripts/update-npm.sh
vendored
1
.github/scripts/update-npm.sh
vendored
|
@ -31,6 +31,7 @@ if [[ $(git status --porcelain) ]]; then
|
||||||
|
|
||||||
# Open pull request
|
# Open pull request
|
||||||
echo "Opening 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}"
|
gh pr create --title "Weekly NPM Updates" --body "Updates NPM dependencies" --base master --head "npm_deps_${id}"
|
||||||
else
|
else
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
|
|
1
.github/scripts/update-python.sh
vendored
1
.github/scripts/update-python.sh
vendored
|
@ -71,6 +71,7 @@ if [[ $(git status --porcelain) ]]; then
|
||||||
|
|
||||||
# Open pull request
|
# Open pull request
|
||||||
echo "Opening 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}"
|
gh pr create --title "Weekly Python Updates" --body "Updates Python dependencies" --base master --head "python_deps_${id}"
|
||||||
else
|
else
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
|
|
Loading…
Reference in a new issue