Try checkout head ref

This commit is contained in:
yuhan6665
2025-07-06 22:47:58 -04:00
parent 51751c869f
commit fcb878db3e
+1 -1
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