Skip to content

Commit

Permalink
change top level permissions to contents: read for tfsec workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chris3ware committed Mar 16, 2023
1 parent 90d2060 commit 5851e60
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tfsec-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@ on:
type: string

# Declare default permissions as read only.
permissions: read-all
permissions:
contents: read

jobs:
find-terraform:
permissions:
contents: read
uses: ./.github/workflows/get-terraform-dir.yaml

tfsec-pr-commenter:
permissions:
pull-requests: write
contents: read
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
Expand Down

0 comments on commit 5851e60

Please sign in to comment.