`e2e:test-product-analytics` trigger job fails when the source branch is from non-canonical GitLab project
Summary
e2e:test-product-analytics
trigger job fails with "No permissions to trigger downstream pipeline" when the source branch is from non-canonical GitLab project.
Example pipeline: https://gitlab.com/gitlab-org/gitlab/-/pipelines/1424240710 MR for this pipeline: !163693 (merged)
Steps to reproduce
- Create a fork of GitLab
- Create a branch with changes that would run the
e2e:test-product-analytics
trigger job. - Create an MR and target canonical GitLab Master
What is the current bug behavior?
e2e:test-product-analytics
trigger job fails with "No permissions to trigger downstream pipeline" when the source branch is from non-canonical GitLab project.
What is the expected correct behavior?
e2e:test-product-analytics
trigger job should successfully run
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)