Skip to content

Commit

Permalink
Don't use if: always() in examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
febuiles committed Feb 19, 2024
1 parent be8bc50 commit 587ff57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ jobs:
fail-on-severity: critical
deny-licenses: LGPL-2.0, BSD-2-Clause
- name: 'Report'
if: always() # make sure this step runs even if the previous failed
# make sure this step runs even if the previous failed
if: ${{ failure() && steps.review.conclusion == 'failure' }}
shell: bash
env:
comment: ${{ steps.review.outputs.comment-content }}
Expand Down

0 comments on commit 587ff57

Please sign in to comment.