From ef430e815b7d3b4a7955e876ebfb6efb443575d8 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 26 Apr 2026 08:06:47 -0400 Subject: [PATCH] chore: use Dokku Bot identity for dependency update PRs Switches the dependency-updates workflow to use HOMEBREW_GITHUB_API_TOKEN (the same PAT used to bump the homebrew formula on release) and sets the committer/author to Dokku Bot . --- .github/workflows/dependency-updates.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index 74f628513..9573646e7 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml @@ -53,7 +53,7 @@ jobs: - name: Resolve latest release id: latest env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} REPO: ${{ matrix.repo }} CURRENT: ${{ matrix.version }} run: | @@ -95,10 +95,12 @@ jobs: if: steps.latest.outputs.outdated == 'true' uses: peter-evans/create-pull-request@v7 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} branch: chore/bump-${{ matrix.name }}-${{ steps.latest.outputs.latest }} base: ${{ github.ref_name }} delete-branch: true + committer: 'Dokku Bot ' + author: 'Dokku Bot ' commit-message: 'chore: bump ${{ matrix.name }} to ${{ steps.latest.outputs.latest }}' title: 'chore: bump ${{ matrix.name }} to ${{ steps.latest.outputs.latest }}' body: |