Skip to content

Commit bb44cc1

Browse files
committed
conditional
Signed-off-by: Anas Nashif <[email protected]>
1 parent fe75af8 commit bb44cc1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/compliance.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ jobs:
124124
exit 1;
125125
fi
126126
- name: resolve
127-
if: steps.check-warns.outputs.exit_code != 0 # && contains(github.event.pull_request.labels.*.name, 'Compliance: False Positive')
127+
if: |
128+
steps.check-warns.outputs.exit_code != 0 &&
129+
! contains(github.event.pull_request.labels.*.name, 'Compliance: False Positive')
128130
run: |
129131
exit ${{ steps.check-warns.outputs.exit_code }}

0 commit comments

Comments
 (0)