Skip to content

Commit 79842ec

Browse files
authored
security: add permissions block to workflows (#207)
1 parent ec1b44a commit 79842ec

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/opentelemetry.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- release
1010
types: [completed]
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
otel-export-trace:
1417
runs-on: ubuntu-latest

.github/workflows/test-reporter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
types:
99
- completed
1010

11+
permissions:
12+
contents: read
13+
actions: read
14+
1115
jobs:
1216
report:
1317
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)