summaryrefslogtreecommitdiff
path: root/lib/api/triggers.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-25 03:09:35 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-25 03:09:35 +0000
commit3bd9ad5574f2ee81888dc13bc29e1d66dafaedba (patch)
treedcb026c128e15c6dd136a18eef750829103053de /lib/api/triggers.rb
parent0a209fd10ef3cb8b68ca3d8e56a99f67bd6998c1 (diff)
downloadgitlab-ce-3bd9ad5574f2ee81888dc13bc29e1d66dafaedba.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/triggers.rb')
-rw-r--r--lib/api/triggers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/triggers.rb b/lib/api/triggers.rb
index 3988a995450..84c51e5aeac 100644
--- a/lib/api/triggers.rb
+++ b/lib/api/triggers.rb
@@ -21,7 +21,7 @@ module API
optional :variables, type: Hash, desc: 'The list of variables to be injected into build'
end
post ":id/(ref/:ref/)trigger/pipeline", requirements: { ref: /.+/ } do
- Gitlab::QueryLimiting.disable!('https://gitlab.com/gitlab-org/gitlab-foss/issues/42283')
+ Gitlab::QueryLimiting.disable!('https://gitlab.com/gitlab-org/gitlab/-/issues/20758')
forbidden! if gitlab_pipeline_hook_request?