From 6be33284a6ca589c432b6a4cd3d1ed09ee2eead1 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Tue, 13 Aug 2019 19:25:00 -0400 Subject: [PATCH] ci: export the Homebrew GitHub API token --- ci/bump-brew-formula.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/bump-brew-formula.yml b/ci/bump-brew-formula.yml index b0c0b86ac..2ae76b06d 100644 --- a/ci/bump-brew-formula.yml +++ b/ci/bump-brew-formula.yml @@ -9,6 +9,7 @@ jobs: git config --global user.name "matchai" git config --global user.email "hello@matchai.me" git config --global credential.helper store + export HOMEBREW_GITHUB_API_TOKEN=$HOMEBREW_GITHUB_API_TOKEN echo "https://matchai:$HOMEBREW_GITHUB_API_TOKEN@github.com" >> ~/.git-credentials brew update brew bump-formula-pr --url=https://github.com/starship/starship/archive/$GIT_TAG.tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship