Skip to content

Commit a3d1702

Browse files
committed
Bugfix: pages build action fails on dependabot PR merge
Why: The Dependabot GITHUB_TOKEN is readonly and it doesn't have permissions to write to kroxylicious when it tries to push ghpages. Instead we use a PAT to checkout/push which has read/write perms. Signed-off-by: Robert Young <robeyoun@redhat.com>
1 parent 4800a50 commit a3d1702

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/asciidoctor-ghpages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10+
with:
11+
token: ${{ secrets.KROXYLICIOUS_GITHUB_READWRITE_TOKEN }}
1012
- name: asciidoctor-ghpages
1113
uses: manoelcampos/asciidoctor-ghpages-action@v2
1214
with:

0 commit comments

Comments
 (0)