From 0244eb89aee12d6bf910bc59b4ef6027409b9d75 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sun, 16 Aug 2020 12:39:21 +0100 Subject: [PATCH] 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. --- .github/workflows/tapioca-update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tapioca-update.yml b/.github/workflows/tapioca-update.yml index 2a9b482624..f359288d97 100644 --- a/.github/workflows/tapioca-update.yml +++ b/.github/workflows/tapioca-update.yml @@ -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')"