Don't use if: always() in examples.

This commit is contained in:
Federico Builes
2024-02-19 18:11:35 +01:00
parent be8bc500ee
commit 587ff57efd

View File

@@ -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 }}