Skip to content

Commit f19e8fe

Browse files
committed
ci: limit workflow permission
1 parent 846e90e commit f19e8fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy_sphinx.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ on:
44
workflow_dispatch:
55

66
permissions:
7-
contents: write
7+
contents: read
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
13+
permissions:
14+
contents: write
1215

1316
steps:
1417
- name: Checkout code

0 commit comments

Comments
 (0)