Skip to content

Commit 953e6bf

Browse files
committed
fix: checkout proper branch for canary release
1 parent 58c9ecf commit 953e6bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release-canary.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ jobs:
1515
name: Release
1616
runs-on: ubuntu-latest
1717
steps:
18-
- name: Checkout Repo
18+
- name: Checkout Branch
1919
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 1
22+
ref: refs/pull/${{ github.event.issue.number }}/head
2023

2124
- name: Setup Node.js 20
2225
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)