Skip to content

Commit

Permalink
chenged fail condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sabamushtashvili committed Aug 23, 2023
1 parent 1fd8ed9 commit f6c08e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/license_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
- name: Determine workflow status
id: set_status
run: |
output=$(cat ./licenses_check/failed_licenses.csv)
if [[ -n "$output" ]]; then
line_count=$(wc -l < ./licenses_check/failed_licenses.csv)
if [[ $line_count -gt 1 ]]; then
echo "Workflow failed due to faulty certificates"
exit 1
else
Expand Down

0 comments on commit f6c08e5

Please sign in to comment.