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

[Question] How to configure merge request trigger on a GitLab server ? #614

Open
labordep opened this issue Nov 20, 2023 · 2 comments
Open

Comments

@labordep
Copy link
Contributor

Hi, is anybody know how to configure some rules on a GitLab server ?
I'm using gitlab configuration of SmalltalkCI.
On GitHub there is a script way to configure Actions and define trigger on PR, commit, branches, etc.
I haven't found this equivalent for GitLab, for example:

on:
  push:
    branches:
      - 'main'
  pull_request:
    types: [assigned, opened, synchronize, reopened]

To be more concrete, I don't know how to configure my project to execute CI on specific branches (for exemple 'main' and 'dev') and how to configure the CI to execute tests when a merge request is opened.

Thanks.

@gcotelli
Copy link
Collaborator

gcotelli commented Nov 20, 2023 via email

@labordep
Copy link
Contributor Author

Thanks @gcotelli, I will take a look :)

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

No branches or pull requests

2 participants