-
Hello, I'm trying to pass a value using inputs but can't make it work. The json should be something like {"tag": 5} Can you help me please ? Thank you ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Got this working. On your downstream repo setup workflow_dispatch to take inputs e.g. on: From your invoker repo yaml using trigger-workflow-and-wait, add this tag inputs: '{ "testurl" :"http://xyz.com" }' |
Beta Was this translation helpful? Give feedback.
-
@nbegey IIRC, GitHub allows only input values as |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your help, guys ! |
Beta Was this translation helpful? Give feedback.
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" }'