Skip to content

passing an arbitrary json #24

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

You must be logged in to vote

Got this working. 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: 3 comments

Comment options

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

You must be logged in to vote
0 replies
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
Category
Q&A
Labels
None yet
3 participants