Skip to content

Commit

Permalink
security: add permissions block to workflows (#201)
Browse files Browse the repository at this point in the history
* security: add permissions block to workflows

* Update .github/workflows/test-reporter.yml
  • Loading branch information
reakaleek authored Mar 12, 2024
1 parent 1f9133c commit d719738
Show file tree
Hide file tree
Showing 2 changed files with 8 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 @@ -8,6 +8,9 @@
- test-reporter
types: [completed]

permissions:
contents: read

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

permissions:
contents: read
actions: read
checks: write

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

0 comments on commit d719738

Please sign in to comment.