We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2aeaa5 commit a560062Copy full SHA for a560062
.github/workflows/ci.yml
@@ -39,12 +39,22 @@ jobs:
39
- name: StandardJS Check
40
run: yarn lint
41
42
- - name: Lint YAML data files
43
- run: yarn lint:yml
+ - name: Normalize YAML data files
+ run: bundle exec rails yml:normalize
44
45
- name: erb-lint Check
46
run: bundle exec erblint --lint-all
47
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
52
+ echo "::error::Uncommitted changes detected! This is likely to be fix by running `bin/lint` locally and committing the changes."
53
+ git status
54
+ git diff
55
+ exit 1
56
+ fi
57
+
58
test:
59
runs-on: ubuntu-latest
60
env:
0 commit comments