chore: update publish-docs permissions to be more targeted. (#812)

This is recommended by OSSF.
This commit is contained in:
Maciej Kisiel 2026-02-19 16:08:40 +01:00 • committed by GitHub
commit 86d05a12f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,11 +5,12 @@ on:
types: [published] types: [published]
workflow_dispatch: workflow_dispatch:
permissions: permissions: read-all
contents: write
jobs: jobs:
deploy: deploy:
permissions:
contents: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out code - name: Check out code