Skip to content

Commit 486a300

Browse files
committed
ci: contents write permissions for docs workflow
1 parent 43177f7 commit 486a300

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ jobs:
289289
name: docs
290290
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
291291
needs: [release, pyversion]
292+
permissions:
293+
contents: write
292294
uses: ./.github/workflows/docs.yml
293295
secrets: inherit
294296

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ env:
88
NAMESPACE: paloaltonetworks
99
COLLECTION_NAME: panos
1010

11+
permissions:
12+
contents: write
13+
1114
jobs:
1215
docs:
1316
name: Build Documentation

0 commit comments

Comments
 (0)