1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-04 17:40:49 +00:00

build: Use the correct Homebrew GitHub API token name

This commit is contained in:
Matan Kushner 2019-12-13 14:45:57 -05:00
parent 2e1051fbca
commit 3dd7f66ffc
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -194,13 +194,13 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: |
echo "https://starship-bot:$GITHUB_TOKEN@github.com" > ~/.git-credentials
echo "https://starship-bot:$HOMEBREW_GITHUB_API_TOKEN@github.com" > ~/.git-credentials
git config --global credential.helper store
git config --global user.name "Starship Bot"
git config --global user.email "bot@starship.rs"
brew bump-formula-pr --url=https://github.com/starship/starship/archive/$(git describe --tags).tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship --force
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
# Build sources for every OS
github_build: