We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f8f6f commit a8e4f0cCopy full SHA for a8e4f0c
.github/workflows/develop-pr.yml
@@ -26,3 +26,21 @@ jobs:
26
27
- name: Build with Maven
28
run: mvn -B clean package -Pproduction
29
+
30
+ - name: Check for uncommited changes
31
+ run: |
32
+ if [[ "$(git status --porcelain)" != "" ]]; then
33
+ echo ----------------------------------------
34
+ echo git status
35
36
+ git status
37
38
+ echo git diff
39
40
+ git diff
41
42
+ echo Troubleshooting
43
44
+ echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && mvn -B clean package -Pproduction"
45
+ exit 1
46
+ fi
0 commit comments