summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.me>2019-08-13 19:25:00 -0400
committerMatan Kushner <hello@matchai.me>2019-08-13 19:25:00 -0400
commit6be33284a6ca589c432b6a4cd3d1ed09ee2eead1 (patch)
tree029364fe808f1202d6fd7e2e6ba9682c176211f7 /ci
parent95401c688f93be6f61e2cf29cca6f8da74aaec9d (diff)
ci: export the Homebrew GitHub API token
Diffstat (limited to 'ci')
-rw-r--r--ci/bump-brew-formula.yml1
1 files changed, 1 insertions, 0 deletions
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