Skip to content

Commit 91ceaf0

Browse files
chore: specify branch when checking out GHA code (#4226)
1 parent 27fd8a0 commit 91ceaf0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release-5.x.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- uses: actions/checkout@v4
40+
with:
41+
ref: '5.x'
4042

4143
- name: Install Node and dependencies
4244
uses: mongodb-labs/drivers-github-tools/node/setup@v2
@@ -95,6 +97,8 @@ jobs:
9597
runs-on: ubuntu-latest
9698
steps:
9799
- uses: actions/checkout@v4
100+
with:
101+
ref: '5.x'
98102

99103
- name: Install Node and dependencies
100104
uses: mongodb-labs/drivers-github-tools/node/setup@v2

.github/workflows/release-6.8.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- uses: actions/checkout@v4
40+
with:
41+
ref: '6.8'
4042

4143
- name: Install Node and dependencies
4244
uses: mongodb-labs/drivers-github-tools/node/setup@v2
@@ -95,6 +97,8 @@ jobs:
9597
runs-on: ubuntu-latest
9698
steps:
9799
- uses: actions/checkout@v4
100+
with:
101+
ref: '6.8'
98102

99103
- name: Install Node and dependencies
100104
uses: mongodb-labs/drivers-github-tools/node/setup@v2

0 commit comments

Comments
 (0)