Skip to content

Commit

Permalink
Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
vMarkusK committed Nov 11, 2024
1 parent c6640da commit 3a49618
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/InfraCost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- main
- master

permissions: read-all

env:
# If you use private modules you'll need this env variable to use
# the same ssh-agent socket value across all jobs & steps.
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/TFlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read
permissions: read-all

jobs:
tflint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
- master

permissios: read
permissions: read-all

jobs:
terraform:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/Trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read
permissions: read-all

jobs:
trivy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ValidateAndDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
- master

permissions: read
permissions: read-all

jobs:
deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ValidateAndPlan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
types: [opened, synchronize]

permissions: read
permissions: read-all

jobs:
terraform:
Expand Down

0 comments on commit 3a49618

Please sign in to comment.