Skip to content

Update entrypoint.sh to emit errors as an output #87

Update entrypoint.sh to emit errors as an output

Update entrypoint.sh to emit errors as an output #87

Workflow file for this run

name: Testing
on:
pull_request:
branches:
- main
jobs:
run_action_warning:
name: Test action only warn
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
iac_dir: 'test_dirs/fail/'
iac_type: 'terraform'
iac_version: 'v14'
policy_type: 'aws'
only_warn: true
run_action_no_issues:
name: Test run action no issues
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
iac_dir: 'test_dirs/success/'
iac_type: 'terraform'
iac_version: 'v14'
policy_type: 'aws'
only_warn: true
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
check_hidden: true
skip: ./.git