Welcome to mirror list, hosted at ThFree Co, Russian Federation.

base.rb « pipeline_trigger « ci « mutations « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 23be70e77542809de8693dbf3af1945ec00b9821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module Mutations
  module Ci
    module PipelineTrigger
      class Base < BaseMutation
        authorize :admin_build
        authorize :admin_trigger

        PipelineTriggerID = ::Types::GlobalIDType[::Ci::Trigger]

        argument :id, PipelineTriggerID,
          required: true,
          description: 'ID of the pipeline trigger token to mutate.'
      end
    end
  end
end