-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add support within Actions for creating a workflow dispatch event #1623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1623 +/- ##
==========================================
+ Coverage 68.06% 68.09% +0.02%
==========================================
Files 97 97
Lines 8855 8863 +8
==========================================
+ Hits 6027 6035 +8
Misses 1912 1912
Partials 916 916
Continue to review full report at Codecov.
|
According to https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event, this endpoint is utilized for manually triggering a Github Actions workflow run.
4b9d962
to
99788a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @AntonNguyen!
Just a few changes, please, and then we should be ready for a second review before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @AntonNguyen !
LGTM.
Awaiting second LGTM before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @AntonNguyen
LGTM 👌🏼
Thank you, @wesleimp ! |
I noticed that the github client hadn't added support for this functionality yet.
According to https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event, this endpoint is utilized for manually triggering a Github Actions workflow run.
I purposely left out support for the
inputs
key, since due to its dynamic nature, might be a larger and more complicated change than we want.