Skip to content
Discussion options

You must be logged in to vote

importer mapped ADO parameters: → on.workflow_dispatch.inputs but left the body on ADO syntax. ${{ parameters.zipFile }} is not valid Actions - that should be ${{ inputs.zipFile }} for workflow_dispatch (and ${{ inputs.* }} inside a reusable workflow that declares on.workflow_call.inputs).

so the conversion is half-done: inputs block OK, references not rewritten.

do this first (workaround) after gh actions-importer / dry-run output:

# review the diff - then rewrite ADO parameter refs to GHA inputs
sed -i 's/\${{ parameters\./${{ inputs./g' .github/workflows/*.yml

or the same replace in your editor across the generated workflow(s). watch for any ADO template expressions you don’t want touc…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@felipe-leon-NTT
Comment options

@tomm1990
Comment options

@tomm1990
Comment options

Answer selected by felipe-leon-NTT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants