mirror of
https://github.com/dokku/dokku.git
synced 2026-08-29 10:08:53 +02:00
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
|
||||
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 <no-reply@dokku.com>'
|
||||
author: 'Dokku Bot <no-reply@dokku.com>'
|
||||
commit-message: 'chore: bump ${{ matrix.name }} to ${{ steps.latest.outputs.latest }}'
|
||||
title: 'chore: bump ${{ matrix.name }} to ${{ steps.latest.outputs.latest }}'
|
||||
body: |
|
||||
|
||||
Reference in New Issue
Block a user