gitlab-haskell-1.0.0.1: A Haskell library for the GitLab web API
Copyright(c) Rob Stewart Heriot-Watt University 2020
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

GitLab.SystemHooks.Rules

Description

 
Synopsis

Documentation

ruleAddMembers Source #

Arguments

:: String

rule label

-> [Text]

project names to match on

-> [Text]

user names to add as member of matched project

-> Rule 

Add specified users with a Reporter role to all specified projects with a given project name

ruleAddNewUserToGroups Source #

Arguments

:: String

rule label

-> [Text]

list of (non registered) usernames

-> [Text]

list of groups to add new user to

-> Rule 

When a new user creates an account on a GitLab server they are added to all groups in the specified group list