We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d2ed6c commit 3a64ba4Copy full SHA for 3a64ba4
1 file changed
.github/workflows/check.yaml
@@ -9,4 +9,18 @@ jobs:
9
uses: actions/checkout@v4
10
11
- run: make
12
+
13
+ - name: check for uncommitted changes
14
+ run: |
15
+ if [[ -n $(git status --porcelain) ]]; then
16
+ echo "Error: Generated files are out of date!"
17
+ echo "The following files have changes:"
18
+ git status --porcelain
19
+ echo ""
20
+ echo "Please run 'make' locally and commit the updated files."
21
+ exit 1
22
+ else
23
+ echo "Success: All generated files are up to date."
24
+ fi
25
26
- run: make clean
0 commit comments