From 01e4c386eaa2cf41de27695a0d94e56e8a74f7ac Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Wed, 28 Apr 2021 12:04:32 +0200 Subject: [PATCH] Print the uncommited changes from ZAP templates before failing the job in zap_templates.yaml --- .github/workflows/zap_templates.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/zap_templates.yaml b/.github/workflows/zap_templates.yaml index 94da99d60e4237..1dc89e956b67ed 100644 --- a/.github/workflows/zap_templates.yaml +++ b/.github/workflows/zap_templates.yaml @@ -49,4 +49,5 @@ jobs: - name: Check for uncommited changes run: | git add . + git diff-index HEAD -- git diff-index --quiet HEAD --