blob: ab3a46da85439ca146cf2fa79066dca42bf00dd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#import "~/ci_variable_list/graphql/fragments/ci_variable.fragment.graphql"
mutation addProjectVariable(
$variable: CiVariable!
$endpoint: String!
$fullPath: ID!
$projectId: ID!
) {
addProjectVariable(
variable: $variable
endpoint: $endpoint
fullPath: $fullPath
projectId: $projectId
) @client {
project {
id
ciVariables {
nodes {
...BaseCiVariable
... on CiProjectVariable {
environmentScope
masked
protected
}
}
}
}
errors
}
}
|