Skip to content

Commit

Permalink
fix issue with workflow gen program that version input was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Erwinvandervalk committed Feb 18, 2025
1 parent 6b7c27d commit 326b29b
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflow-gen/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ void GenerateReleaseWorkflow(Component component)

workflow.On
.WorkflowDispatch()
.Inputs(new StringInput("version", "Version in format X.Y.Z or X.Y.Z-preview.", true, "0.0.0"))
.Inputs(new StringInput("target-branch", "(Optional) the name of the branch to release from", false, "main"));
.Inputs(
new StringInput("version", "Version in format X.Y.Z or X.Y.Z-preview.", true, "0.0.0")
, new StringInput("target-branch", "(Optional) the name of the branch to release from", false, "main"));

workflow.EnvDefaults();

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/access-token-management-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: access-token-management/release
on:
workflow_dispatch:
inputs:
version:
description: 'Version in format X.Y.Z or X.Y.Z-preview.'
type: string
required: true
default: '0.0.0'
target-branch:
description: '(Optional) the name of the branch to release from'
type: string
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/identity-model-oidc-client-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: identity-model-oidc-client/release
on:
workflow_dispatch:
inputs:
version:
description: 'Version in format X.Y.Z or X.Y.Z-preview.'
type: string
required: true
default: '0.0.0'
target-branch:
description: '(Optional) the name of the branch to release from'
type: string
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/identity-model-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: identity-model/release
on:
workflow_dispatch:
inputs:
version:
description: 'Version in format X.Y.Z or X.Y.Z-preview.'
type: string
required: true
default: '0.0.0'
target-branch:
description: '(Optional) the name of the branch to release from'
type: string
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ignore-this-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: ignore-this/release
on:
workflow_dispatch:
inputs:
version:
description: 'Version in format X.Y.Z or X.Y.Z-preview.'
type: string
required: true
default: '0.0.0'
target-branch:
description: '(Optional) the name of the branch to release from'
type: string
Expand Down

0 comments on commit 326b29b

Please sign in to comment.