Skip to content

Commit 1cbdc19

Browse files
committed
test
1 parent 4c5bf0a commit 1cbdc19

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ jobs:
166166
uses: actions/checkout@v2
167167

168168
- name: Deepen cloned repo
169-
env:
170-
BASE_SHA: ${{ github.event.pull_request.base.sha }}
171-
run: 'git fetch --depth=1 origin $BASE_SHA:refs/tags/BASE'
169+
run: 'git fetch --depth=1 origin ${{ github.base_ref }}:refs/tags/BASE'
172170

173171
- name: Setup Node.js
174172
uses: actions/setup-node@v2
@@ -191,9 +189,7 @@ jobs:
191189
uses: actions/checkout@v2
192190

193191
- name: Deepen cloned repo
194-
env:
195-
BASE_SHA: ${{ github.event.pull_request.base.sha }}
196-
run: 'git fetch --depth=1 origin $BASE_SHA:refs/tags/BASE'
192+
run: 'git fetch --depth=1 origin ${{ github.base_ref }}:refs/tags/BASE'
197193

198194
- name: Setup Node.js
199195
uses: actions/setup-node@v2

0 commit comments

Comments
 (0)