From e3b0477457bd0c0e2166feecca47c6b19b9c3659 Mon Sep 17 00:00:00 2001 From: Andrej Date: Mon, 27 Jan 2025 00:08:50 +0100 Subject: [PATCH] ci: :construction_worker: debugging changelog pipeline --- .github/workflows/changelog.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index ab6cb39..a62ae92 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -1,3 +1,5 @@ +name: "Changelog" + on: push: branches: @@ -64,4 +66,29 @@ jobs: run: | gh pr merge --squash --auto --delete-branch ${{ env.PR_BRANCH }} env: - GH_TOKEN: ${{ secrets.GH_TOKEN_ANDREJ }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GH_TOKEN_ANDREJ }} + + release: + name: Release + if: github.event_name != 'pull_request' && needs.changelog.outputs.skipped == 'false' + runs-on: ubuntu-24.04 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Create Release + uses: softprops/action-gh-release@v2 + with: + token: ${{ secrets.GH_TOKEN_ANDREJ }} + tag_name: ${{ needs.changelog.outputs.tag }} + prerelease: false + draft: false + files: bin/* + generate_release_notes: true + name: ${{ needs.changelog.outputs.tag }} + body: | +
+ 🤖 Autogenerated Conventional Changelog + ${{ needs.changelog.outputs.clean_changelog }} +
\ No newline at end of file