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]
workflow_dispatch:
permissions:
contents: write
permissions: read-all
jobs:
deploy:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Check out code