Browse Source

Apply commercial input consistently

Closes gh-46504
pull/46604/head
Stéphane Nicoll 5 months ago
parent
commit
5406976ee9
  1. 6
      .github/actions/create-github-release/action.yml
  2. 1
      .github/workflows/release-milestone.yml
  3. 2
      .github/workflows/release.yml

6
.github/actions/create-github-release/action.yml

@ -1,6 +1,9 @@
name: Create GitHub Release name: Create GitHub Release
description: 'Create the release on GitHub with a changelog' description: 'Create the release on GitHub with a changelog'
inputs: inputs:
commercial:
description: 'Whether to generate the changelog for the commercial release'
required: true
milestone: milestone:
description: 'Name of the GitHub milestone for which a release will be created' description: 'Name of the GitHub milestone for which a release will be created'
required: true required: true
@ -11,9 +14,6 @@ inputs:
token: token:
description: 'Token to use for authentication with GitHub' description: 'Token to use for authentication with GitHub'
required: true required: true
commercial:
description: 'Whether to generate the changelog for the commercial release'
required: true
runs: runs:
using: composite using: composite
steps: steps:

1
.github/workflows/release-milestone.yml

@ -89,6 +89,7 @@ jobs:
- name: Create GitHub Release - name: Create GitHub Release
uses: ./.github/actions/create-github-release uses: ./.github/actions/create-github-release
with: with:
commercial: ${{ vars.COMMERCIAL }}
milestone: ${{ needs.build-and-stage-release.outputs.version }} milestone: ${{ needs.build-and-stage-release.outputs.version }}
pre-release: true pre-release: true
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

2
.github/workflows/release.yml

@ -172,6 +172,6 @@ jobs:
- name: Create GitHub Release - name: Create GitHub Release
uses: ./.github/actions/create-github-release uses: ./.github/actions/create-github-release
with: with:
commercial: ${{ vars.COMMERCIAL }}
milestone: ${{ needs.build-and-stage-release.outputs.version }} milestone: ${{ needs.build-and-stage-release.outputs.version }}
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
commercial: ${{ vars.COMMERCIAL }}

Loading…
Cancel
Save