Skip to content

Commit 303ddf7

Browse files
committed
ops: add permissions for workflows missing them
1 parent d0b2f7a commit 303ddf7

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/_docs_release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Release Docs (INTERNAL)
33
on:
44
workflow_call:
55

6+
permissions:
7+
contents: read
8+
pages: write
9+
610
jobs:
711
deploy:
812
runs-on: ubuntu-latest

.github/workflows/_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Run Tests (INTERNAL)
33
on:
44
workflow_call:
55

6+
permissions:
7+
contents: read
8+
69
env:
710
CARGO_TERM_COLOR: always
811

.github/workflows/docs_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- docs/**
88
- ".github/workflows/docs_test.yml"
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
test-deploy:
1215
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)