Skip to content

Commit

Permalink
Add a complete diff of the changes to the ZAP job. (#11024)
Browse files Browse the repository at this point in the history
This makes it clearer why the job is failing, exactly.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Jan 13, 2022
1 parent ac57a4a commit 1191296
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/zap_templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,9 @@ jobs:
- name: Check for uncommited changes
run: |
git add .
git diff-index HEAD --
git diff-index --quiet HEAD --
# Show the full diff
git diff-index -p HEAD --
# Also show just the files that are different, to make it easy
# to tell at a glance what might be going on. And throw in
# --exit-code to make this job fail if there is a difference.
git diff-index --exit-code HEAD --

0 comments on commit 1191296

Please sign in to comment.