diff --git a/.github/workflows/autoformat.yml b/.github/workflows/autoformat.yml index 95bb459..289e101 100644 --- a/.github/workflows/autoformat.yml +++ b/.github/workflows/autoformat.yml @@ -13,9 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.sha }} - name: Prettify uses: creyD/prettier_action@v4.2 with: