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:
242242 # ##########
243243
244244 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') }}
246249 runs-on : ubuntu-latest
247250 steps :
248251 - uses : actions/checkout@v4
252+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
249253
250254 - name : Parse release version
251255 id : release
252256 run : echo "version=${GITHUB_REF#refs/tags/}"
253257 >> $GITHUB_OUTPUT
258+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
254259
255260 - name : Ensure CHANGELOG date is today
256261 run : |
@@ -261,6 +266,7 @@ jobs:
261266 echo "Changelog: $changelog"
262267 echo "Today: $today"
263268 [ "$changelog" = "$today" ]
269+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
264270
265271 test-flutter :
266272 name : test (example, ${{ matrix.platform }})
You can’t perform that action at this time.
0 commit comments