-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: test checkov github-action in public module
- Loading branch information
1 parent
203af26
commit 87f794b
Showing
1 changed file
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
--- | ||
name: checkov | ||
name: checkov | ||
on: | ||
pull_request: | ||
# this can be trigger based on both master and main branch. | ||
push: | ||
branches: [ "feat/checkov-test"] | ||
workflow_dispatch: | ||
jobs: | ||
checkov: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/checkov.yml@1.0.10 | ||
|
||
scan: | ||
permissions: | ||
contents: read # for actions/checkout to fetch code | ||
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | ||
actions: read # | ||
uses: clouddrove/github-shared-workflows/.github/workflows/checkov.yml@master | ||
with: | ||
directory: '.' | ||
directory: ./ | ||
framework: terrafform | ||
continue_on_error: true | ||
... |