Skip to content

Add checkov GitHub actions #6

Add checkov GitHub actions

Add checkov GitHub actions #6

Workflow file for this run

name: Run checkov
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
- v2m*
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Test with Checkov
id: checkov
uses: bridgecrewio/checkov-action@master
with:
directory: .
quiet: true
skip_path: tests/, .github, compose/, docker/dev/
hard_fail_on: MEDIUM
soft_fail_on: LOW
skip_check: CKV_DOCKER_2,CKV_DOCKER_4