Skip to content

Commit 4d08f1d

Browse files
committed
Use releasebot token for prepare-release PR creation to trigger workflows
Instead of using the default GITHUB_TOKEN, use the releasebot token to ensure workflows run on pull requests created by these PRs. Docs: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow?utm_source=chatgpt.com#triggering-a-workflow-from-a-workflow
1 parent 20eec88 commit 4d08f1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ jobs:
3434
title: Release ${{ inputs.version }}
3535
body: Update the changelog and the specfile for release ${{ inputs.version }}.
3636
delete-branch: true
37+
token: ${{ secrets.RELEASEBOT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)