gitlab-org--gitlab-foss/app/assets/javascripts/repository/mutations/lock_path.mutation.graphql

14 lines
297 B
GraphQL

mutation toggleLock($projectPath: ID!, $filePath: String!, $lock: Boolean!) {
projectSetLocked(input: { projectPath: $projectPath, filePath: $filePath, lock: $lock }) {
project {
id
pathLocks {
nodes {
id
path
}
}
}
errors
}
}