Skip to content
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

Add workflow create_dispatch method that raises exceptions #2965

Closed

Conversation

dblanchette
Copy link
Contributor

We've been having issues with creating workflow dispatch with missing/too many arguments.

When using Workflow.create_dispatch(), we only get a boolean response even though the GitHub API returns detailed error messages.

This creates a new method that returns an exception with the error data when it fails. I did that not to break the existing method.

dblanchette and others added 30 commits June 30, 2021 17:32
…-registration-token

Add call to get registration token for self-hosted actions runner
Add call to list repository secrets
Co-authored-by: Jonathan Piché <[email protected]>
Add support for organization secrets
Add property to get HTTP credentials from authenticated client
DT-4874 // clear pyjwt vulnerability
@dblanchette dblanchette force-pushed the fix/workflow-dispatch-with-exception branch from fd817e2 to 75a4893 Compare May 7, 2024 18:45
@dblanchette dblanchette closed this May 7, 2024
@dblanchette dblanchette deleted the fix/workflow-dispatch-with-exception branch May 7, 2024 18:53
@dblanchette
Copy link
Contributor Author

dblanchette commented May 7, 2024

Broke the PR by rebasing our fork, I opened #2966 as a replacement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants