We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7af68f8 commit b4afc33Copy full SHA for b4afc33
1 file changed
.github/workflows/bump.yml
@@ -17,9 +17,15 @@ jobs:
17
run: |
18
git config --global user.name 'github-actions[bot]'
19
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
20
+ - name: Merge PRs
21
+ if: github.event_name == 'pull_request' && github.triggering_actor == 'hong-bot' # Run this after bump cask PRs are created.
22
+ env:
23
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
+ run: |
25
+ gh pr merge ${{ github.event.number }} --auto --rebase
26
- uses: Homebrew/actions/setup-homebrew@main
27
- name: Bump packages
28
env:
- HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GH_TOKEN }}
29
+ HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GH_TOKEN }} # Different from GITHUB_TOKEN, this is a PAT for hong-bot.
30
31
brew bump --no-fork --open-pr --casks --tap=$GITHUB_REPOSITORY
0 commit comments