Skip to content

Commit 2c19266

Browse files
committed
Update README
1 parent 0ab4ace commit 2c19266

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,22 @@ See the workflows:
201201

202202
</details>
203203

204+
## workflow_input.yml
205+
206+
<details>
207+
208+
<summary>Adjust how a workflow will run with custom input.</summary>
209+
210+
<br/>When using the `workflow_dispatch` event, you can optionally specify inputs that are passed to the workflow.
211+
212+
This trigger only receives events when the workflow file is on the default branch. This means you have to merge your changes to `main` or `master` before you can test your inputs. It would be wise to try input changes in a totally separate workflow before merging them into critical workflows.
213+
214+
Also, if the event that triggers the workflow isn't `workflow_dispatch` the input values are empty/null. This is true even if you have default values defined.
215+
216+
See the [workflow](.github/workflows/workflow_input.yml).
217+
218+
</details>
219+
204220
## References
205221

206222
- [GitHub Actions](https://docs.github.com/en/actions)

0 commit comments

Comments
 (0)