-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90eb586
commit 38970b5
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
branch: ${{ github.event.pull_request.head.ref || github.ref_name }} | ||
branch: ${{ github.head_ref || github.ref_name }} |