File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -166,9 +166,7 @@ jobs:
166
166
uses : actions/checkout@v2
167
167
168
168
- 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'
172
170
173
171
- name : Setup Node.js
174
172
uses : actions/setup-node@v2
@@ -191,9 +189,7 @@ jobs:
191
189
uses : actions/checkout@v2
192
190
193
191
- 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'
197
193
198
194
- name : Setup Node.js
199
195
uses : actions/setup-node@v2
You can’t perform that action at this time.
0 commit comments