Skip to content

Commit 7f4803b

Browse files
authored
security: add permissions block to workflows (#54)
* security: add permissions block to workflows * Add permissions
1 parent c748e55 commit 7f4803b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/opentelemetry.yml

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

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

.github/workflows/test-reporter.yml

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

11+
permissions:
12+
contents: read
13+
actions: read
14+
checks: write
15+
1116
jobs:
1217
report:
1318
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)