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

gitlab-ci: Automatically run CI checks for all applicable GitHub PRs #5149

Open
kmk3 opened this issue May 17, 2022 · 4 comments
Open

gitlab-ci: Automatically run CI checks for all applicable GitHub PRs #5149

kmk3 opened this issue May 17, 2022 · 4 comments
Labels
enhancement New feature request

Comments

@kmk3
Copy link
Collaborator

kmk3 commented May 17, 2022

@kmk3 kmk3 added the bug Something isn't working label May 17, 2022
@kmk3 kmk3 changed the title gitlab-ci: pipelines are not being executed on all relevant PRs gitlab-ci: pipelines are not being executed on all applicable PRs May 17, 2022
@kmk3
Copy link
Collaborator Author

kmk3 commented May 17, 2022

Also, can someone add me (same username) to the GitLab project so that I can
debug the CI there?

@reinerh
Copy link
Collaborator

reinerh commented May 17, 2022

Also, can someone add me (same username) to the GitLab project so that I can debug the CI there?

invite sent.

@kmk3
Copy link
Collaborator Author

kmk3 commented May 17, 2022

@reinerh commented on May 17:

Also, can someone add me (same username) to the GitLab project so that I
can debug the CI there?

invite sent.

Thanks!

@kmk3
Copy link
Collaborator Author

kmk3 commented May 17, 2022

Regarding the PRs, it looks like the default rule on GitLab CI is something
like "always build on (first-party) branch creation/modification", which by
default would include master and any other branches that exist in this
repository (and any branch that is pushed only to the mirror).

Since dependabot creates the branches directly in this repository (rather than
in a fork), all of its branches also get tested. But branches from forks are
not copied over to the GitLab mirror when a PR is opened, so they are not
tested.

So it should be simple to ignore dependabot PRs based on paths changed or on
branch name, but automatically building PRs opened from forks seems trickier.

I see now that this feature is actually being tracked by GitLab:

Main issue:

Related issues:

To anyone reading this, please consider voting on the main issue if you think
it would be useful (it's at +77/-0 votes as of writing).

@kmk3 kmk3 added enhancement New feature request and removed bug Something isn't working labels May 17, 2022
@kmk3 kmk3 changed the title gitlab-ci: pipelines are not being executed on all applicable PRs gitlab-ci: Automatically run CI checks for all applicable GitHub PRs May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request
Projects
None yet
Development

No branches or pull requests

2 participants