Skip to content

Commit

Permalink
ci: migrate to cra config in yaml (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocofaigh authored Aug 23, 2023
1 parent 8801ef1 commit 86d597d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ jobs:
secrets: inherit
with:
craSCCv2: true
craTarget: "examples/default"
craRuleIgnoreFile: "cra-tf-validate-ignore-rules.json"
craConfigYamlFile: "cra-config.yaml"
6 changes: 6 additions & 0 deletions cra-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# More info about this file at https://github.com/terraform-ibm-modules/common-pipeline-assets/blob/main/.github/workflows/terraform-test-pipeline.md#cra-config-yaml
version: "v1"
CRA_TARGETS:
- CRA_TARGET: "examples/default" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json" # CRA Ignore file to use. If not provided, it checks the repo root directory for `cra-tf-validate-ignore-rules.json`
PROFILE_ID: "262b5a6d-9dea-400e-b61f-0fbd63883f78" # SCC profile ID (currently set to the FSCloud 1.3.0 profile).

0 comments on commit 86d597d

Please sign in to comment.