mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-27 03:42:39 +00:00
ci: Bump brew with personal account
This commit is contained in:
parent
024e7ea1f3
commit
c58178dece
8
.github/workflows/workflow.yml
vendored
8
.github/workflows/workflow.yml
vendored
@ -194,17 +194,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- run: |
|
- run: |
|
||||||
echo "https://starship-bot:$HOMEBREW_GITHUB_API_TOKEN@github.com" > ~/.git-credentials
|
echo "https://matchai:$HOMEBREW_GITHUB_API_TOKEN@github.com" > ~/.git-credentials
|
||||||
git config --global credential.helper store
|
git config --global credential.helper store
|
||||||
git config --global user.name "Starship Bot"
|
git config --global user.name "Matan Kushner"
|
||||||
git config --global user.email "bot@starship.rs"
|
git config --global user.email "hello@matchai.dev"
|
||||||
|
|
||||||
cd $(brew --repo homebrew/core)
|
cd $(brew --repo homebrew/core)
|
||||||
git fetch origin
|
git fetch origin
|
||||||
sudo git reset --hard origin/master
|
sudo git reset --hard origin/master
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
brew bump-formula-pr --url=https://github.com/starship/starship/archive/$(git describe --tags).tar.gz --message="Automated release pull request using continuous integration. If you have any questions, please ping `@matchai`." --no-browse -v starship --force
|
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:
|
env:
|
||||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user