Skip to content

Commit

Permalink
Update pdf-at-pr.yaml
Browse files Browse the repository at this point in the history
Add `permissions:` `contents: write` to resolve error
  • Loading branch information
x13-me authored Nov 20, 2024
1 parent 100ec0d commit ce89cb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pdf-at-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
pull_request:
types: [opened, reopened, synchronize, labeled]
workflow_dispatch:
permissions:
contents: write

jobs:
build:
Expand Down Expand Up @@ -62,4 +64,4 @@ jobs:
[![Create offline documentation on PR](https://github.com/armbian/documentation/actions/workflows/pdf-at-pr.yaml/badge.svg)](https://github.com/armbian/documentation/actions/workflows/pdf-at-pr.yaml)
Documentation website preview will be available in few minutes:
<a href=https://armbian.github.io/documentation/${{ github.event.number }}><kbd> <br> Open WWW preview <br> </kbd></a>
body-update-action: 'suffix'
body-update-action: 'suffix'

0 comments on commit ce89cb4

Please sign in to comment.