-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (38 loc) · 1.07 KB
/
action.yml
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
31
32
33
34
35
36
37
38
name: 'Trigger GitLab Pipeline'
description: 'Triggers a GitLab Pipeline'
author: "mbwali"
branding:
icon: 'git-commit'
color: 'orange'
inputs:
PROJECT_ID:
description: 'The ID or URL-encoded path of the project owned by the authenticated user.'
required: true
default: ''
GITLB_TRIGGER_TOKEN:
description: 'The GitLab Trigger Token'
required: true
default: ''
REF_NAME:
description: 'The GitLab branch or tag name'
required: false
default: 'main'
URL:
description: 'The GitLab URL'
required: false
default: 'gitlab.com'
PIPELINE_VARIABLES:
description: 'A map of key-valued strings containing the pipeline variables. For example: { VAR1: "value1", VAR2: "value2" }.'
required: false
ACCESS_TOKEN:
description: 'Pipeline Access Token, see https://docs.gitlab.com/ee/user/project/settings/project_access_tokens.html'
required: false
default: ''
outputs:
# status:
# description: 'The status of the pipeline.'
web_url:
description: 'The URL of the pipeline.'
runs:
using: 'node20'
main: 'dist/index.js'