Skip to content

Commit

Permalink
fix workflows RBAC
Browse files Browse the repository at this point in the history
  • Loading branch information
jt-dd committed Aug 28, 2024
1 parent 7341940 commit a617cc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/datadog-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:

permissions:
contents: write
contents: write # write permission is needed to get access to the DD_API_KEY secrete - https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions#accessing-your-secrets

jobs:
static-analysis:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/system-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
pull_request:

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
system-test:
runs-on:
Expand Down

0 comments on commit a617cc8

Please sign in to comment.