Skip to content

Commit e10444d

Browse files
committed
ci(pretty fix): use correct head ref
1 parent e4517eb commit e10444d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pretty-fix.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
21+
with:
22+
ref: ${{ github.event.pull_request.head.ref }}
2123

2224
- name: Set up Node.js
2325
uses: actions/setup-node@v4
@@ -59,6 +61,7 @@ jobs:
5961
uses: stefanzweifel/git-auto-commit-action@v5
6062
with:
6163
commit_message: "prettier fix"
64+
branch: ${{ github.event.pull_request.head.ref }}
6265

6366
- name: Remove label
6467
uses: PauMAVA/[email protected]

0 commit comments

Comments
 (0)