From 38970b59b76828664ec8bf6f55dd2625d9540349 Mon Sep 17 00:00:00 2001 From: Lewis Larsen Date: Sun, 29 Dec 2024 18:15:43 +0000 Subject: [PATCH] wip --- .github/workflows/prettier.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 5754f846..99795382 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -8,8 +8,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - # Use PR head ref for pull requests or ref_name for normal branches - ref: ${{ github.event.pull_request.head.ref || github.ref_name }} + # Ensure that the correct ref is being used for PRs or normal branches + ref: ${{ github.head_ref || github.ref_name }} - uses: actions/setup-node@v4 with: node-version: "20.x" @@ -21,4 +21,4 @@ jobs: commit_message: "style: automated changes to blade files" commit_user_name: GitHub Action commit_user_email: actions@github.com - branch: ${{ github.event.pull_request.head.ref || github.ref_name }} + branch: ${{ github.head_ref || github.ref_name }}