summaryrefslogtreecommitdiff
path: root/app/models/integration.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-19 00:12:04 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-19 00:12:04 +0000
commit6e70c2b428a91084139a521abb4a3987a5be35ab (patch)
tree494b56b6c25990033e83f63fb1a2025c8b871375 /app/models/integration.rb
parent391beda74a957bfa72144cca886ace03a2db4e92 (diff)
downloadgitlab-ce-6e70c2b428a91084139a521abb4a3987a5be35ab.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/integration.rb')
-rw-r--r--app/models/integration.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/integration.rb b/app/models/integration.rb
index 29d96650a81..89b34932e20 100644
--- a/app/models/integration.rb
+++ b/app/models/integration.rb
@@ -92,6 +92,7 @@ class Integration < ApplicationRecord
scope :note_hooks, -> { where(note_events: true, active: true) }
scope :confidential_note_hooks, -> { where(confidential_note_events: true, active: true) }
scope :job_hooks, -> { where(job_events: true, active: true) }
+ scope :archive_trace_hooks, -> { where(archive_trace_events: true, active: true) }
scope :pipeline_hooks, -> { where(pipeline_events: true, active: true) }
scope :wiki_page_hooks, -> { where(wiki_page_events: true, active: true) }
scope :deployment_hooks, -> { where(deployment_events: true, active: true) }