Skip to content

Commit

Permalink
workflows: Set permissions to doc build job
Browse files Browse the repository at this point in the history
Set write permission to the build job.

Signed-off-by: Jan Tore Guggedal <[email protected]>
  • Loading branch information
jtguggedal committed Dec 2, 2024
1 parent 3a17a2f commit 868ad33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ on:
- main

jobs:
build:
docs-build-and-publish:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 868ad33

Please sign in to comment.