Skip to content

Commit

Permalink
feat: test checkov github-action in public module
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Jan 11, 2024
1 parent 203af26 commit 87f794b
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/checkov.yml
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
...

0 comments on commit 87f794b

Please sign in to comment.