Skip to content

Commit 3dbf094

Browse files
fix(.github): update checkout reference to use github.ref
1 parent 54794de commit 3dbf094

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
1616
with:
17-
ref: ${{ github.event.repository.default_branch }}
17+
ref: ${{ github.ref }}
1818

1919
- name: Setup Node.js
2020
uses: actions/setup-node@v4
@@ -35,7 +35,7 @@ jobs:
3535
- name: Checkout code
3636
uses: actions/checkout@v4
3737
with:
38-
ref: ${{ github.event.repository.default_branch }}
38+
ref: ${{ github.ref }}
3939

4040
- name: Setup Node.js
4141
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)