From 5406976ee99187d2b6d69d5759f75a72ae757c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Tue, 22 Jul 2025 16:35:46 +0200 Subject: [PATCH] Apply commercial input consistently Closes gh-46504 --- .github/actions/create-github-release/action.yml | 6 +++--- .github/workflows/release-milestone.yml | 1 + .github/workflows/release.yml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/actions/create-github-release/action.yml b/.github/actions/create-github-release/action.yml index f1baaec79b4..4ac4b950ee3 100644 --- a/.github/actions/create-github-release/action.yml +++ b/.github/actions/create-github-release/action.yml @@ -1,6 +1,9 @@ name: Create GitHub Release description: 'Create the release on GitHub with a changelog' inputs: + commercial: + description: 'Whether to generate the changelog for the commercial release' + required: true milestone: description: 'Name of the GitHub milestone for which a release will be created' required: true @@ -11,9 +14,6 @@ inputs: token: description: 'Token to use for authentication with GitHub' required: true - commercial: - description: 'Whether to generate the changelog for the commercial release' - required: true runs: using: composite steps: diff --git a/.github/workflows/release-milestone.yml b/.github/workflows/release-milestone.yml index 61d3d4107fa..580a1d2e023 100644 --- a/.github/workflows/release-milestone.yml +++ b/.github/workflows/release-milestone.yml @@ -89,6 +89,7 @@ jobs: - name: Create GitHub Release uses: ./.github/actions/create-github-release with: + commercial: ${{ vars.COMMERCIAL }} milestone: ${{ needs.build-and-stage-release.outputs.version }} pre-release: true token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5764ee154dc..256e0870d7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -172,6 +172,6 @@ jobs: - name: Create GitHub Release uses: ./.github/actions/create-github-release with: + commercial: ${{ vars.COMMERCIAL }} milestone: ${{ needs.build-and-stage-release.outputs.version }} token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} - commercial: ${{ vars.COMMERCIAL }}