Skip to content

Commit

Permalink
FPO-419: Login with gh auth
Browse files Browse the repository at this point in the history
  • Loading branch information
willfish committed Sep 25, 2024
1 parent 3cc92dc commit 5bac427
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .circleci/bin/ghinstall
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githu

sudo apt update
sudo apt install gh

if [ -z "${GITHUB_TOKEN:-}" ]; then
echo "GITHUB_TOKEN is not set"
exit 1
fi

gh auth login --with-token <<< "${GITHUB_TOKEN}"

0 comments on commit 5bac427

Please sign in to comment.