gitlab-org--gitlab-foss/app
Fabio Pitino ca6a1f33f9 CE port for pipelines for external pull requests
Detect if pipeline runs for a GitHub pull request

When using a mirror for CI/CD only we register a pull_request
webhook. When a pull_request webhook is received, if the
source branch SHA matches the actual head of the branch in the
repository we create immediately a new pipeline for the
external pull request. Otherwise we store the
pull request info for when the push webhook is received.

When using "only/except: external_pull_requests" we can detect
if the pipeline has a open pull request on GitHub and create or
not the job based on that.
2019-09-05 15:53:48 +01:00
..
assets Update Pipelines Minutes expire banner (CE) 2019-09-04 20:48:58 +00:00
controllers Preload routes information 2019-09-03 12:16:03 +02:00
finders Avoid calling freeze on already frozen strings in app/finders 2019-09-04 09:19:07 +05:30
graphql Upgrade GraphQL gem to 1.8.17 2019-09-04 17:42:48 +00:00
helpers Update Pipelines Minutes expire banner (CE) 2019-09-04 20:48:58 +00:00
mailers Add X-GitLab-NotificationReason header to note emails 2019-09-02 12:15:24 -05:00
models CE port for pipelines for external pull requests 2019-09-05 15:53:48 +01:00
policies Let project reporters create issue from group boards 2019-09-04 16:33:02 +00:00
presenters Remove unnecessary freeze in app 2019-09-04 18:10:43 +00:00
serializers Fix wording on milestone due date today 2019-09-03 15:19:58 +03:00
services CE port for pipelines for external pull requests 2019-09-05 15:53:48 +01:00
uploaders Remove unnecessary freeze in app 2019-09-04 18:10:43 +00:00
validators Avoid checking dns rebind protection in validation 2019-09-05 09:11:14 +00:00
views Update Pipelines Minutes expire banner (CE) 2019-09-04 20:48:58 +00:00
workers CE port for pipelines for external pull requests 2019-09-05 15:53:48 +01:00