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 3986a92 commit 4b654d1Copy full SHA for 4b654d1
.github/workflows/check-generated-files.yml
@@ -20,6 +20,17 @@ jobs:
20
21
- name: Check files.json
22
working-directory: typescript-sdk/apps/dojo
23
- run: git diff --exit-code files.json
+ run: |
24
+ if git diff --exit-code files.json > /dev/null; then
25
+ echo "✅ No changes detected in files.json. Everything is up to date."
26
+ else
27
+ echo "❌ Detected changes in files.json."
28
+ echo "Please run \`(p)npm run generate-content-json\` in the typescript-sdk/apps/dojo folder and commit the changes."
29
+
30
+ echo "The detected diff was as follows:"
31
32
+ git diff files.json
33
+ exit 1
34
+ fi
35
36
0 commit comments