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 6003741 commit 12b8a12Copy full SHA for 12b8a12
.github/workflows/lint.yml
@@ -22,3 +22,13 @@ jobs:
22
run: yarn install
23
- name: Lint
24
run: yarn nx format:check --all
25
+ continue-on-error: true # Continue even if the check fails
26
+ - name: Auto-format and commit changes if needed
27
+ if: failure()
28
+ run: |
29
+ yarn nx format:write --all
30
+ git config --global user.name "GitHub Actions"
31
+ git config --global user.email "[email protected]"
32
+ git add .
33
+ git commit -m "fmt"
34
+ git push
0 commit comments