add explicit permissions needde by upload-sarif
This commit is contained in:
parent
b2adbe78f9
commit
945e0f99fc
5
.github/workflows/tf-unit-tests.yml
vendored
5
.github/workflows/tf-unit-tests.yml
vendored
@ -3,6 +3,11 @@ name: 'Terraform Unit Tests'
|
||||
on:
|
||||
push:
|
||||
|
||||
permissions:
|
||||
security-events: write # Needed to upload-sarif
|
||||
contents: read # Needed to clone repo
|
||||
actions: read # Potentially needed for private repositories (see https://github.com/github/codeql-action/issues/2117)
|
||||
|
||||
jobs:
|
||||
terraform-unit-tests:
|
||||
name: 'Terraform Unit Tests'
|
||||
|
Loading…
x
Reference in New Issue
Block a user