Skip to content

Internal error when manually running the job #25730

Discussion options

You must be logged in to vote

Hi,

You have been hit by Boolean inputs are not actually booleans · Issue #1483 · actions/runner · GitHub, which ends up assigning string ‘true’ / ‘false’ to a boolean workflow_call parameter => internal server error.

How to fix your workflow?
Cast your workflow_call boolean inputs to actual boolean values.

manual_test:
    name: manual test
    uses: gbetous-swir/GHActions-demo/.github/workflows/jobs.yml@main
    with:
       usernames:  ${{ github.event.inputs.names }}
       hello_job:  ${{ github.event.inputs.hello == 'true' }}
       goodbye_job:  ${{ github.event.inputs.goodbye == 'true' }}

or

manual_test:
    name: manual test
    uses: gbetous-swir/GHActions-demo/.github/workflow…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants