Skip to content

Commit 3057b60

Browse files
authored
Merge pull request #47 from ngraveio/dry-run
chore: enhance dry-run workflow with fetch depth and release branch fetch
2 parents 02b856e + cd8ad7c commit 3057b60

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/dry-run-release.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,19 @@ jobs:
1818
issues: write
1919
pull-requests: write
2020
steps:
21-
- name: Checkout
21+
- name: Checkout code
2222
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0 # Fetch all branches
25+
26+
- name: Fetch release branch
27+
run: git fetch origin release:refs/remotes/origin/release
2328

2429
- name: Setup Node.js
2530
uses: actions/setup-node@v4
2631
with:
27-
node-version: '20.x'
28-
registry-url: 'https://registry.npmjs.org'
32+
node-version: "20.x"
33+
registry-url: "https://registry.npmjs.org"
2934

3035
- name: Install dependencies
3136
run: yarn install --frozen-lockfile

0 commit comments

Comments
 (0)