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 @@ @@ -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: @@ -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:

1
.github/workflows/release-milestone.yml

@ -89,6 +89,7 @@ jobs: @@ -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 }}

2
.github/workflows/release.yml

@ -172,6 +172,6 @@ jobs: @@ -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 }}

Loading…
Cancel
Save