File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -242,15 +242,20 @@ jobs:
242
242
# ##########
243
243
244
244
changelog :
245
- if : ${{ startsWith(github.ref, 'refs/tags/') }}
245
+ if : ${{ startsWith(github.ref, 'refs/tags/')
246
+ || github.ref_name == 'main'
247
+ || (github.event_name == 'pull_request'
248
+ && github.event.pull_request.head.repo.owner.login == 'instrumentisto') }}
246
249
runs-on : ubuntu-latest
247
250
steps :
248
251
- uses : actions/checkout@v4
252
+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
249
253
250
254
- name : Parse release version
251
255
id : release
252
256
run : echo "version=${GITHUB_REF#refs/tags/}"
253
257
>> $GITHUB_OUTPUT
258
+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
254
259
255
260
- name : Ensure CHANGELOG date is today
256
261
run : |
@@ -261,6 +266,7 @@ jobs:
261
266
echo "Changelog: $changelog"
262
267
echo "Today: $today"
263
268
[ "$changelog" = "$today" ]
269
+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
264
270
265
271
test-flutter :
266
272
name : test (example, ${{ matrix.platform }})
You can’t perform that action at this time.
0 commit comments