From 99f3e47d9f6b22bde4343e05d2db75d6b2c8a357 Mon Sep 17 00:00:00 2001 From: damientobin1 Date: Thu, 11 Jun 2026 14:18:58 +0100 Subject: [PATCH 1/4] CCM-18983: New Create Release Action --- .../actions/create-github-release/action.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/actions/create-github-release/action.yaml diff --git a/.github/actions/create-github-release/action.yaml b/.github/actions/create-github-release/action.yaml new file mode 100644 index 0000000..292ca7f --- /dev/null +++ b/.github/actions/create-github-release/action.yaml @@ -0,0 +1,48 @@ +name: "Create GitHub release" +description: "Creates a GitHub release using softprops/action-gh-release" +inputs: + token: + description: "GitHub token" + required: true + tag_name: + description: "The name of the tag for this release" + required: true + release_name: + description: "The name of the release" + required: false + default: "" + body: + description: "Text describing the contents of the release" + required: false + default: "" + draft: + description: "true to create a draft release, false to create a published one" + required: false + default: "false" + prerelease: + description: "true to identify the release as a prerelease" + required: false + default: "false" +outputs: + upload_url: + description: "URL for uploading assets to the release" + value: ${{ steps.release.outputs.upload_url }} + url: + description: "URL of the release" + value: ${{ steps.release.outputs.url }} + id: + description: "The release ID" + value: ${{ steps.release.outputs.id }} +runs: + using: "composite" + steps: + - name: "Create release" + id: release + uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2.6.2 + with: + token: ${{ inputs.token }} + tag_name: ${{ inputs.tag_name }} + name: ${{ inputs.release_name }} + body: ${{ inputs.body }} + draft: ${{ inputs.draft }} + prerelease: ${{ inputs.prerelease }} From c4b482ca230168e8e6630503315fb71e5adcf2f5 Mon Sep 17 00:00:00 2001 From: Damien Tobin Date: Mon, 15 Jun 2026 13:48:10 +0100 Subject: [PATCH 2/4] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/actions/create-github-release/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/create-github-release/action.yaml b/.github/actions/create-github-release/action.yaml index 292ca7f..e2ea759 100644 --- a/.github/actions/create-github-release/action.yaml +++ b/.github/actions/create-github-release/action.yaml @@ -2,7 +2,7 @@ name: "Create GitHub release" description: "Creates a GitHub release using softprops/action-gh-release" inputs: token: - description: "GitHub token" + description: "GitHub token (requires contents: write permission to create releases)" required: true tag_name: description: "The name of the tag for this release" From d9ba22dfdba259758db447dd71211c08194c0582 Mon Sep 17 00:00:00 2001 From: damientobin1 Date: Mon, 15 Jun 2026 13:55:03 +0100 Subject: [PATCH 3/4] CCM-18983: Upgrade softprops/action-gh-release to v3.0.0 (node24) --- .github/actions/create-github-release/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/create-github-release/action.yaml b/.github/actions/create-github-release/action.yaml index e2ea759..ec2caf2 100644 --- a/.github/actions/create-github-release/action.yaml +++ b/.github/actions/create-github-release/action.yaml @@ -38,7 +38,7 @@ runs: steps: - name: "Create release" id: release - uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2.6.2 + uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0 with: token: ${{ inputs.token }} tag_name: ${{ inputs.tag_name }} From 393ce923cb5ae632ccb4618d126df513611c4ad9 Mon Sep 17 00:00:00 2001 From: damientobin1 Date: Mon, 15 Jun 2026 13:59:57 +0100 Subject: [PATCH 4/4] CCM-18983: Fall back to tag_name when release_name is not provided --- .github/actions/create-github-release/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/create-github-release/action.yaml b/.github/actions/create-github-release/action.yaml index ec2caf2..d87eb9d 100644 --- a/.github/actions/create-github-release/action.yaml +++ b/.github/actions/create-github-release/action.yaml @@ -42,7 +42,7 @@ runs: with: token: ${{ inputs.token }} tag_name: ${{ inputs.tag_name }} - name: ${{ inputs.release_name }} + name: ${{ inputs.release_name || inputs.tag_name }} body: ${{ inputs.body }} draft: ${{ inputs.draft }} prerelease: ${{ inputs.prerelease }}