diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 9add3a6..65b87c7 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -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