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
Gitlab/Bitbucket/Gitea support #46
Labels
good first issue
Good for newcomers
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally requested in irgolic/AutoPR-template#7
I made an effort to write AutoPR pretty orthogonally to Github. To support gitlab, the following changes need to be made:
gh_actions_entrypoint.py
. They should probably be placed in their ownautopr/entrypoints/
directory.PublishService
subclass should be added inautopr/services/publish_service.py
EventService
subclass.main.py
is hardcoded for github, in that it instantiates a GithubPublishService and GithubEventService. Also, it takes agithub_token
environment variable.I don't personally have a use for this right now, but the changes should be pretty straightforward if anyone using gitlab wants to pick it up. That said, I'm glossing over the actual gitlab <=> entrypoint integration, and assuming that gitlab-ci provides an event object similar to github actions.
The text was updated successfully, but these errors were encountered: