Skip to content

Commit 11e645b

Browse files
authored
fix: Reduce GitHub Action PR preview permissions (#62)
1 parent bb54ae8 commit 11e645b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/preview-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on: pull_request
55
jobs:
66
run:
77
runs-on: ubuntu-latest
8-
permissions: write-all
8+
permissions:
9+
contents: read
10+
pull-requests: write
911
steps:
1012
- name: Checkout repository
1113
uses: actions/checkout@v4

0 commit comments

Comments
 (0)