Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- run: make lint
- run: make test
- run: make dist
- run: ./scripts/ci-quality-no-uncommitted-files.sh

- run: gh config set prompt disabled
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ jobs:
- run: make lint
- run: make test
- run: make dist
- run: ./scripts/ci-quality-no-uncommitted-files.sh
11 changes: 11 additions & 0 deletions scripts/ci-quality-no-uncommitted-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

set -o errexit
set -o nounset

if [ -n "$(git status --porcelain)" ]
then
echo "ERROR: Found uncommitted files in repository:" >&2
git status --porcelain >&2
exit 1
fi