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 <no-reply@dokku.com>.
This commit is contained in:
6
.github/workflows/dependency-updates.yml
vendored
6
.github/workflows/dependency-updates.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
|||||||
- name: Resolve latest release
|
- name: Resolve latest release
|
||||||
id: latest
|
id: latest
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||||
REPO: ${{ matrix.repo }}
|
REPO: ${{ matrix.repo }}
|
||||||
CURRENT: ${{ matrix.version }}
|
CURRENT: ${{ matrix.version }}
|
||||||
run: |
|
run: |
|
||||||
@@ -95,10 +95,12 @@ jobs:
|
|||||||
if: steps.latest.outputs.outdated == 'true'
|
if: steps.latest.outputs.outdated == 'true'
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||||
branch: chore/bump-${{ matrix.name }}-${{ steps.latest.outputs.latest }}
|
branch: chore/bump-${{ matrix.name }}-${{ steps.latest.outputs.latest }}
|
||||||
base: ${{ github.ref_name }}
|
base: ${{ github.ref_name }}
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
|
committer: 'Dokku Bot <no-reply@dokku.com>'
|
||||||
|
author: 'Dokku Bot <no-reply@dokku.com>'
|
||||||
commit-message: 'chore: bump ${{ matrix.name }} to ${{ steps.latest.outputs.latest }}'
|
commit-message: 'chore: bump ${{ matrix.name }} to ${{ steps.latest.outputs.latest }}'
|
||||||
title: 'chore: bump ${{ matrix.name }} to ${{ steps.latest.outputs.latest }}'
|
title: 'chore: bump ${{ matrix.name }} to ${{ steps.latest.outputs.latest }}'
|
||||||
body: |
|
body: |
|
||||||
|
|||||||
Reference in New Issue
Block a user