File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments