File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 3333 - name : Commit and push changes
3434 run : |
3535 git add ai/liquid.mdc
36- git commit -m "Update ai/liquid.mdc"
37- git push origin main
36+ if [[ -n "$(git status --porcelain)" ]]; then
37+ git commit -m "Update ai/liquid.mdc"
38+ git push origin main
39+ else
40+ echo "No changes to commit"
41+ fi
Original file line number Diff line number Diff line change 2222 - name : Commit and push changes
2323 run : |
2424 git add data/latest.json
25- git commit -m "Update data/latest.json"
26- git push origin main
25+ if [[ -n "$(git status --porcelain)" ]]; then
26+ git commit -m "Update data/latest.json"
27+ git push origin main
28+ else
29+ echo "No changes to commit"
30+ fi
Original file line number Diff line number Diff line change 1010
1111<variables >
1212 - Use CSS variables to reduce redundancy
13- - Hardcode values as variables first (e.g. --touch-target-size: 44px )
13+ - Hardcode values as variables first (e.g. --touch-target-size: 45px )
1414 - Never hardcode colors, use color schemes
1515 - Scope variables to components unless global
1616 - Global variables go in : root (in may live in a file like snippets/theme-styles-variables.liquid)
You can’t perform that action at this time.
0 commit comments