Skip to content

Commit

Permalink
Update README.md - editing the yaml example
Browse files Browse the repository at this point in the history
adding:
permissions: read-all

This is to avoid failure of super-linter that is triggered by checkov. checkov flags that the top-level permissions are set to write-all (default value). Accordingly, the action will fail with an error.

Update README.md - Removing the long comment
  • Loading branch information
mohamedhamdyamer committed Mar 27, 2024
1 parent 6842e2d commit 265db62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ To run super-linter as a GitHub Action, you do the following:
push: null
pull_request: null

permissions: read-all

jobs:
build:
name: Lint
Expand Down

0 comments on commit 265db62

Please sign in to comment.