Skip to content

Commit 49dbc02

Browse files
committed
Set a compliance-fail-level value in workflow examples #12
Signed-off-by: tdruez <[email protected]>
1 parent aa24504 commit 49dbc02

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/scan-codebase.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ jobs:
1212
with:
1313
pipelines: "scan_codebase"
1414
check-compliance: true
15+
compliance-fail-level: "WARNING"

action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ runs:
5959
shell: bash
6060
run: |
6161
pip install --upgrade scancodeio
62-
scanpipe migrate
62+
scanpipe migrate --verbosity 0
6363
6464
- name: Generate `--pipeline` CLI arguments
6565
shell: bash
@@ -112,16 +112,14 @@ runs:
112112
shell: bash
113113
run: scanpipe output
114114
--project ${{ inputs.project-name }}
115-
--format ${{ inputs.output-formats }}
116-
--no-color
115+
--format ${{ inputs.output-formats }}
117116

118117
- name: Check compliance
119118
if: inputs.check-compliance == 'true'
120119
shell: bash
121120
run: scanpipe check-compliance
122121
--project ${{ inputs.project-name }}
123122
--fail-level ${{ inputs.compliance-fail-level }}
124-
--no-color
125123

126124
- name: Upload outputs
127125
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)