@@ -2,12 +2,13 @@ name: Nightly Release
22
33on :
44 schedule :
5- # Run at 4 AM CET (3 AM UTC in winter, 2 AM UTC in summer )
6- # Using 2 AM UTC to be safe for CET/CEST transitions
5+ # Run at 02:00 UTC (approximately 3–4 AM CET/CEST depending on DST )
6+ # Using a fixed 02:00 UTC time to be safe across CET/CEST transitions
77 - cron : ' 0 2 * * *'
88 workflow_dispatch : # Allow manual trigger for testing
99
1010permissions :
11+ issues : write
1112 contents : write
1213 pull-requests : read
1314
@@ -259,17 +260,18 @@ jobs:
259260
260261 - name : Create and push tag
261262 run : |
263+ git fetch origin --tags
262264 git tag ${{ needs.determine-version.outputs.new_version }}
263265 git push origin ${{ needs.determine-version.outputs.new_version }}
264266
265267 - name : Create GitHub Release
266268 id : create_release
267- uses : actions/create -release@v1
269+ uses : softprops/action-gh -release@v1
268270 env :
269271 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
270272 with :
271273 tag_name : ${{ needs.determine-version.outputs.new_version }}
272- release_name : Release ${{ needs.determine-version.outputs.new_version }}
274+ name : Release ${{ needs.determine-version.outputs.new_version }}
273275 body : |
274276 ${{ needs.determine-version.outputs.changelog }}
275277
@@ -338,8 +340,8 @@ jobs:
338340 echo "Or use 'skip-release' label to explicitly skip a PR"
339341
340342 notify-on-failure :
341- needs : [run-tests, determine-version, create-release, publish-to-pypi ]
342- if : failure()
343+ needs : [run-tests, determine-version]
344+ if : ${{ always() && failure() }}
343345 runs-on : ubuntu-latest
344346 steps :
345347 - name : Create issue on failure
0 commit comments