We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a560062 commit 2fc211eCopy full SHA for 2fc211e
.github/workflows/ci.yml
@@ -48,10 +48,9 @@ jobs:
48
- name: Fail when generated changes are not checked-in
49
run: |
50
git update-index --refresh
51
- if ! git diff-index --quiet HEAD --; then
+ git diff-index --quiet HEAD --
52
+ if [ $? -ne 0 ]; then
53
echo "::error::Uncommitted changes detected! This is likely to be fix by running `bin/lint` locally and committing the changes."
- git status
54
- git diff
55
exit 1
56
fi
57
bin/lint
@@ -16,5 +16,5 @@ echo "Checking erb file formatting..."
16
bundle exec erb_lint --lint-all --autocorrect
17
18
# Check YAML file formatting
19
-echo "Checking YAML file formatting in data/ ..."
20
-yarn format:yml
+echo "Normalizing YAML files..."
+bundle exec rails yml:normalize
0 commit comments