Skip to content

Commit

Permalink
security: add permissions block to workflows (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored Feb 26, 2024
1 parent 61c7998 commit 2cfaf5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/opentelemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
- release
types: [completed]

permissions:
contents: read

jobs:
otel-export-trace:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
types:
- completed

permissions:
contents: read
actions: read

jobs:
report:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2cfaf5e

Please sign in to comment.