Skip to content

Commit

Permalink
conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
nashif committed Dec 13, 2024
1 parent fe75af8 commit 3c2ec6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ jobs:
exit 1;
fi
- name: resolve
if: steps.check-warns.outputs.exit_code != 0 # && contains(github.event.pull_request.labels.*.name, 'Compliance: False Positive')
if: |
steps.check-warns.outputs.exit_code != 0 &&
! contains(github.event.pull_request.labels.*.name, 'Compliance: False Positive')
run: |
exit ${{ steps.check-warns.outputs.exit_code }}

0 comments on commit 3c2ec6d

Please sign in to comment.