chore: update publish-docs permissions to be more targeted. (#812)
This is recommended by OSSF.
This commit is contained in:
parent
9f22cf142e
commit
86d05a12f7
1 changed files with 3 additions and 2 deletions
5
.github/workflows/publish-docs.yml
vendored
5
.github/workflows/publish-docs.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue