Skip to content

Commit

Permalink
ci: cra config (#485)
Browse files Browse the repository at this point in the history
Co-authored-by: Rajat Agrawal <rajat.agrawal@ibm.com>
  • Loading branch information
rajatagarwal-ibm and Rajat Agrawal committed Nov 22, 2023
1 parent 671d610 commit 0732443
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: "0e6e7b5a-817d-4344-ab6f-e5d7a9c49520" # SCC profile ID (currently set to the FSCloud 1.4.0 profile).

0 comments on commit 0732443

Please sign in to comment.