Skip to content

Commit c38a55b

Browse files
Fix debug step condition in scan workflow
Signed-off-by: Jacob Woffenden <jacob.woffenden@justice.gov.uk>
1 parent d8fbbcc commit c38a55b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
- name: DEBUG
5252
# if: github.event_name == 'schedule'
53-
if: steps.scan.outcome == 'failure'
53+
if: failure() && steps.scan.outcome == 'failure'
5454
id: debug
5555
run: |
5656
echo "OUTCOME: ${{ steps.scan.outcome }}"

0 commit comments

Comments
 (0)