Skip to content

Inputs param causes parsing errors #30

Answered by kvaghela
kvaghela asked this question in Q&A
Discussion options

You must be logged in to vote

Got this working now. On your downstream repo setup workflow_dispatch to take inputs e.g.

on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
testurl:
description: 'Which URL to test with'
default: 'http://abcd.com'
required: true

From your invoker repo yaml using trigger-workflow-and-wait, add this tag

inputs: '{ "testurl" :"http://xyz.com" }'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AshwinNmbr
Comment options

Answer selected by kvaghela
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants