Skip to content

warp-cli 0.2025.12.10.08.12.stable_02 #44

warp-cli 0.2025.12.10.08.12.stable_02

warp-cli 0.2025.12.10.08.12.stable_02 #44

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 }}