Skip to content

Commit d4dd34c

Browse files
committed
Adding priveleges for CI to commit back to the branch
1 parent 5e01767 commit d4dd34c

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- develop
1111
- main
1212

13+
permissions:
14+
contents: write
15+
1316
jobs:
1417
quality:
1518
runs-on: ubuntu-latest
@@ -27,19 +30,13 @@ jobs:
2730
npm install
2831
2932
- name: Run Pint
30-
run: vendor/bin/pint
33+
run: vendor/bin/pint --test
3134

32-
- name: Frontend Format
33-
run: npm run format
35+
- name: Frontend Format Check
36+
run: npm run format -- --check
3437

3538
- name: Frontend Lint
3639
run: npm run lint
3740

38-
- name: Commit changes
39-
uses: stefanzweifel/git-auto-commit-action@v5
40-
with:
41-
commit_message: fix code style
42-
commit_options: "--no-verify"
43-
4441
- name: PHPStan
4542
run: ./vendor/bin/phpstan

0 commit comments

Comments
 (0)