Try checkout head ref

pull/712/head
yuhan6665 2025-07-06 22:47:58 -04:00
parent 51751c869f
commit fcb878db3e
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.head_ref }}
- name: Prettify code
uses: creyD/prettier_action@v4.6