warp-cli 0.2026.01.07.08.13.stable_01 #50
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update channel versions | |
| on: pull_request | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| # Adapted from https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#automatically-approving-a-pull-request | |
| merge-version-update: | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.user.login == 'warpmachineuser' && github.repository == 'warpdotdev/homebrew-warp' | |
| steps: | |
| - name: Approve PR | |
| run: gh pr review --approve "$PR_URL" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| # We use the GitHub Actions token to approve, rather than the warpmachineuser PAT, since users can't approve their own PRs. | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Enable automerge | |
| run: gh pr merge --auto --merge "$PR_URL" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| # We use the warpmachineuser PAT to enable automerge, as the GitHub Actions token cannot do so. | |
| GH_TOKEN: ${{ secrets.HOMEBREW_TAP_PAT }} |