Skip to content

Commit ecaefb2

Browse files
committed
complex
Signed-off-by: Anas Nashif <[email protected]>
1 parent 1f4f6e6 commit ecaefb2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/compliance.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ jobs:
9090
path: compliance.xml
9191

9292
- name: check-warns
93-
continue-on-error: contains(github.event.pull_request.labels.*.name, 'Compliance: False Positive')
93+
id: check-warns
94+
continue-on-error: true
9495
run: |
9596
if [[ ! -s "compliance.xml" ]]; then
9697
exit 1;
@@ -119,5 +120,10 @@ jobs:
119120
if [ "${exit}" == "1" ]; then
120121
echo "Compliance error, check for error messages in the \"Run Compliance Tests\" step"
121122
echo "You can run this step locally with the ./scripts/ci/check_compliance.py script."
123+
echo ::set-output name=exit_code::$exit
122124
exit 1;
123125
fi
126+
- name: resolve
127+
if: failure() && steps.check-warns.outputs.exit_code != 0 # && contains(github.event.pull_request.labels.*.name, 'Compliance: False Positive')
128+
run: |
129+
exit ${{ steps.check-warns.outputs.exit_code }}

0 commit comments

Comments
 (0)