samples
turbot/flowpipe-samples/notify-teams-gitlab-project-visibility
OverviewPipelines
0
Triggers
0
Variables
GitHub

Notify GitLab Project Visibility Changes

Notify a Microsoft Teams channel when a GitLab's project visibility is changed.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run notify_teams_gitlab_project_visibility.pipeline.notify_teams_gitlab_project_visibility \
--arg 'group_id=<string>' \
--arg 'team_id=<string>' \
--arg 'teams_channel_id=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = notify_teams_gitlab_project_visibility.pipeline.notify_teams_gitlab_project_visibility
args = {
group_id = <string>
team_id = <string>
teams_channel_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
gitlab_credstringYesName for GitLab credentials to use. If not provided, the default credentials will be used.default
group_idstringYesGitLab Group ID.-
action_public_to_privateboolYesPass true to make unapproved public projects to private.
teams_credstringYesName for Microsoft Teams credentials to use. If not provided, the default credentials will be used.default
team_idstringYesThe unique identifier of the team.-
teams_channel_idstringYesThe unique identifier for the channel.-

Outputs

NameDescription
public_projectsList of all public projects in the group.
approved_public_project_idsList of Approved public project Ids in the group.
updated_projectsList of Projects that are updated from Public to Private visibility.