Skip to content

Commit 88eb3e6

Browse files
Update code-style.yml
1 parent 7d292a4 commit 88eb3e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/code-style.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id: can_fix
1717
shell: bash
1818
run: |
19-
CAN_FIX=${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
19+
CAN_FIX=${{ github.event_name == 'push' && github.ref == 'refs/heads/1.x' }}
2020
2121
echo "CAN_FIX=${CAN_FIX}" >> "$GITHUB_ENV"
2222
@@ -82,7 +82,7 @@ jobs:
8282
id: can_fix
8383
shell: bash
8484
run: |
85-
CAN_FIX=${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
85+
CAN_FIX=${{ github.event_name == 'push' && github.ref == 'refs/heads/1.x' }}
8686
8787
echo "CAN_FIX=${CAN_FIX}" >> "$GITHUB_ENV"
8888
@@ -153,7 +153,7 @@ jobs:
153153
name: Create a PR
154154
runs-on: ubuntu-latest
155155

156-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
156+
if: github.event_name == 'push' && github.ref == 'refs/heads/1.x'
157157

158158
steps:
159159
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)