You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
When using Gitea as VCS and configuring webhooks, we configure hooks on events for like Pull Requests Comments and Push. I am able to successfully trigger a plan on a Pull Request Comment, by I get an unsupported event error when doing a Push
Hey @jndeverteuil! I'm here to help you with any bugs, questions, or contributions you have in mind. Let's dive into this together!
Atlantis currently does not support the 'push' event for Gitea webhooks, which is why you are encountering the "unsupported event" error. The supported event types for Gitea in Atlantis are:
However, the 'push' event is not handled in the current implementation of Atlantis, as the code is designed to work primarily with pull request and comment events [2].
To address this, you would need to modify the Atlantis codebase to handle 'push' events or explore community plugins or workarounds that might add this functionality. Unfortunately, there are no existing solutions or workarounds documented in the repository for this specific issue.
Community Note
Overview of the Issue
When using Gitea as VCS and configuring webhooks, we configure hooks on events for like
Pull Requests Comments
andPush
. I am able to successfully trigger a plan on aPull Request Comment
, by I get anunsupported event
error when doing aPush
When I look at the code:
atlantis/server/controllers/events/events_controller.go
Lines 335 to 343 in 3d459fc
It seems intended to only work with
pull_request_comment
andpull_request
and will fail to auto-plan with other events.Reproduction Steps
Configure webhooks on a Gitea repository with the following events checked (relevant documentation)
Recent Deliveries
in the repository settings > webhooksLogs
Request
Response
Environment details
Additional Context
The text was updated successfully, but these errors were encountered: