Push commits and raise PR using `HOMEBREW_GITHUB_API_TOKEN (BrewTestBot's)
- The github-actions[bot] PRs don't to trigger CI runs, and are hence unmergeable without manual intervention.
This commit is contained in:
parent
982c7adaf2
commit
0244eb89ae
4
.github/workflows/tapioca-update.yml
vendored
4
.github/workflows/tapioca-update.yml
vendored
@ -45,13 +45,13 @@ jobs:
|
||||
- name: Push commits
|
||||
uses: Homebrew/actions/git-try-push@master
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||
branch: tapioca-update
|
||||
directory: Library/Homebrew/
|
||||
|
||||
- name: Open a PR
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||
run: |
|
||||
cd "$GITHUB_WORKSPACE/Library/Homebrew"
|
||||
hub pull-request -m "$(git log -1 --format='%s')"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user