Skip to content

Commit 3bf5a4e

Browse files
Update code-style.yml
1 parent bfb2fa6 commit 3bf5a4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/code-style.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
run: codestyle pint 8.2
3636

3737
- name: Normalize composer.json
38-
if: ${{ env.CAN_FIX }}
38+
if: ${{ env.CAN_FIX }} == true
3939
run: composer normalize
4040

4141
- name: Fix PHP code-style
42-
if: ${{ env.CAN_FIX }}
42+
if: ${{ env.CAN_FIX }} == true
4343
run: pint --parallel
4444

4545
- name: Check PHP code-style
@@ -86,7 +86,7 @@ jobs:
8686
run: codestyle npm
8787

8888
- name: Node code-style
89-
if: ${{ env.CAN_FIX }}
89+
if: ${{ env.CAN_FIX }} == true
9090
run: |
9191
npx @biomejs/biome lint --write
9292
npx @biomejs/biome format --write
@@ -98,7 +98,7 @@ jobs:
9898
npx @biomejs/biome format
9999
100100
- name: Remove node_modules
101-
if: ${{ env.CAN_FIX }}
101+
if: ${{ env.CAN_FIX }} == true
102102
run: rm -rf node_modules
103103

104104
- name: Remove package.json

0 commit comments

Comments
 (0)