Skip to content

Commit b5124cf

Browse files
Require token
1 parent a91f1a0 commit b5124cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/update-antora-ui-spring.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
required: false
99
default: 'docs-build'
1010
type: string
11+
secrets:
12+
token:
13+
description: Token to use the GH CLI and to Open PRs
14+
required: true
1115

1216
jobs:
1317
update-antora-ui-spring:
@@ -28,7 +32,7 @@ jobs:
2832
echo tag_name=$(gh api /repos/spring-io/antora-ui-spring/releases/latest | jq -r '.tag_name') >> $GITHUB_OUTPUT
2933
shell: bash
3034
env:
31-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
GH_TOKEN: ${{ secrets.token }}
3236
- name: Replace Version
3337
uses: mikefarah/[email protected]
3438
id: replace
@@ -38,6 +42,7 @@ jobs:
3842
- name: Create Pull Request
3943
uses: peter-evans/create-pull-request@v6
4044
with:
45+
token: ${{ secrets.token }}
4146
title: Update Antora UI Spring to ${{ steps.latest.outputs.tag_name }}
4247
commit-message: Update Antora UI Spring to ${{ steps.latest.outputs.tag_name }}
4348
delete-branch: true

0 commit comments

Comments
 (0)