Skip to content

Commit

Permalink
Assert that git tree is clean
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Jul 12, 2023
1 parent 5303437 commit 09b04a8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/actions/run-interop-ping-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ runs:
run: npm run cache -- load
shell: bash

- name: Assert Git tree is clean.
working-directory: ${{ steps.find-workdir.outputs.WORK_DIR }}
shell: bash
run: |
if [[ -n "$(git status --porcelain)" ]]; then
echo "Git tree is dirty. This means that building an impl generated something that should probably be .gitignore'd"
git status
exit 1
fi
- name: Push the image cache
if: env.PUSH_CACHE == 'true'
working-directory: ${{ steps.find-workdir.outputs.WORK_DIR }}
Expand Down

0 comments on commit 09b04a8

Please sign in to comment.