-
Notifications
You must be signed in to change notification settings - Fork 670
Add support for testing/triggering Project and Group hooks #2924
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
Closed
Comments
@vasokot Created an issue on missing support. If you would like to do a PR for this it would be great. |
Correction. Probably need to add the I think the API would probably be like:
|
JacobHenner
added a commit
to JacobHenner/python-gitlab
that referenced
this issue
Aug 9, 2024
Add the ability to trigger tests of project and group hooks. Fixes python-gitlab#2924
2 tasks
JacobHenner
added a commit
to JacobHenner/python-gitlab
that referenced
this issue
Aug 9, 2024
Add the ability to trigger tests of project and group hooks. Fixes python-gitlab#2924
JohnVillalovos
pushed a commit
that referenced
this issue
Aug 9, 2024
Add the ability to trigger tests of project and group hooks. Fixes #2924
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment there is no support for https://docs.gitlab.com/ee/api/projects.html#trigger-a-test-project-hook
So support would need to be added to
gitlab/v4/objects/hooks.py
Probably need to add a method
test()
toProjectHookManager
ProjectHook
andGroupHookManager
GroupHook
PRs are welcome.
Discussed in #2923
Originally posted by vasokot July 11, 2024
Description of the problem, including code/CLI snippet
Need to trigget test of project hook https://docs.gitlab.com/ee/api/projects.html#trigger-a-test-project-hook
How I can do it with python-gitlab?
Specifications
The text was updated successfully, but these errors were encountered: