Skip to content

Commit 3ba9089

Browse files
committed
fix
1 parent 7ef6fb5 commit 3ba9089

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,19 @@ jobs:
7070
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7171
VALIDATE_CHECKOV: false
7272
VALIDATE_JSCPD: false
73-
VALIDATE_JSON_PRETTIER: false
74-
VALIDATE_MARKDOWN_PRETTIER: false
7573
VALIDATE_PHP_PSALM: false
76-
VALIDATE_YAML_PRETTIER: false
74+
75+
FIX_JSON_PRETTIER: true
76+
FIX_MARKDOWN_PRETTIER: true
77+
FIX_SHELL_SHFMT: true
78+
FIX_YAML_PRETTIER: true
79+
- name: Commit and push linting fixes
80+
if: >
81+
github.event_name == 'pull_request' &&
82+
github.ref_name != github.event.repository.default_branch
83+
uses: stefanzweifel/git-auto-commit-action@v5
84+
with:
85+
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
86+
commit_message: "chore: fix linting issues"
87+
commit_user_name: super-linter
88+
commit_user_email: [email protected]

0 commit comments

Comments
 (0)