1+
12name : Draft Release
23
34on :
@@ -289,7 +290,7 @@ jobs:
289290 ${{ !contains(github.ref_name, 'rc') && format('ghcr.io/{0}/signer:latest', env.OWNER) || '' }}
290291 file : provisioning/signer.Dockerfile
291292
292- # Creates a draft release on GitHub with the binaries
293+ # Creates a release on GitHub with the binaries
293294 finalize-release :
294295 needs :
295296 - build-binaries-linux
@@ -299,6 +300,17 @@ jobs:
299300 - build-and-push-signer-docker
300301 runs-on : ubuntu-latest
301302 steps :
303+ - uses : actions/create-github-app-token@v1
304+ id : app-token
305+ with :
306+ app-id : ${{ secrets.APP_ID }}
307+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
308+
309+ - name : Checkout code
310+ uses : actions/checkout@v4
311+ with :
312+ token : ${{ steps.app-token.outputs.token }}
313+
302314 - name : Download binaries
303315 uses : actions/download-artifact@v4
304316 with :
@@ -315,12 +327,13 @@ jobs:
315327 uses : softprops/action-gh-release@v2
316328 with :
317329 files : ./artifacts/**/*
318- draft : true
330+ draft : false
319331 prerelease : ${{ contains(github.ref_name, '-rc') }}
320332 tag_name : ${{ github.ref_name }}
321333 name : ${{ github.ref_name }}
334+ generate_release_notes : true
322335 env :
323- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
336+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
324337
325338 # Fast-forwards stable (full release) or beta (RC) to the new tag.
326339 # Runs after all artifacts are built and the draft release is created,
0 commit comments