-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c761821
commit 956f4f3
Showing
3 changed files
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
skip-check: | ||
- CKV_TF_1 # We tag semantic versions, not commits | ||
|
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,16 +1,19 @@ | ||
name: Call Terraform Tests, Docs & Compliance | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the "main" branch | ||
# This will run the tests twice, one in the PR and one when Commiting to master. | ||
# -> making sure the results appear in the "Security/Code Scan" tab in github. | ||
push: | ||
branches: [ "main", "master" ] | ||
pull_request: | ||
branches: | ||
- master | ||
types: | ||
- opened | ||
- synchronize | ||
- ready_for_review | ||
branches: [ "main", "master" ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
tf-tests: | ||
uses: entur/gh-workflows/.github/workflows/pr-tests-terraform.yml@main | ||
with: | ||
module_dirs: '["./modules/bigquery-sink"]' | ||
module_dirs: '["./modules/bigquery-sink", "./examples/minimal", "./examples/minimal_test"]' |
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 |
---|---|---|
|
@@ -29,3 +29,4 @@ override.tf.json | |
# example: *tfplan* | ||
/.idea/ | ||
results.sarif | ||
.external_modules |