-
Notifications
You must be signed in to change notification settings - Fork 440
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
github.rest.actions.createWorkflowDispatch
does not trigger a run
#250
Comments
👋 Hey @bennypowers, you'll need to use a separate GitHub PAT. Events triggered with the |
Yep, that did it. Thanks! |
👋 Hey @bennypowers, this is now supported without using a separate PAT |
This adds an update-downstream job which dispatches the increase-base-version workflow in the wiki-oci-distribution repository to sync the base version. This is largely based on: * actions/github-script#250 * https://github.blog/changelog/2022-09-08-github-actions-use-github_token-with-workflow_dispatch-and-repository_dispatch/
Hello @joshmgross , Current github script v3 uses
and the respective event 'eventName' looks like
I have updated the github script to v7 but it looks like the github.repos.createDispatchEvent is not available for this version anymore |
@shrumsowen11 see https://github.com/actions/github-script#v5, |
Thanks a bunch @joshmgross , had tried few other things but missed this one. It works with |
Describe the bug
I've written a step which should trigger a
workflow_dispatch
run in my repo, but nothing happensTo Reproduce
In this case, This is what I observed logged in the run:
I've tried several approaches here and I'm really at a loss. What could account for this? Do I need a separate github PAT?
The text was updated successfully, but these errors were encountered: