You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45-9Lines changed: 45 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This action triggers a pipeline for a specified project and ref at a specified GitLab instance.
4
4
5
-
## Inputs
5
+
## Required Secrets
6
6
7
7
### `ci-api-v4-url`
8
8
@@ -24,6 +24,8 @@ Instructions on creating trigger tokens: https://docs.gitlab.com/ee/ci/triggers/
24
24
25
25
**Required** The ID of the project for which a pipeline shall be started.
26
26
27
+
## Inputs
28
+
27
29
### `triggered-ref`
28
30
29
31
**Required** The ref of the project for which a pipeline shall be started.
@@ -40,16 +42,50 @@ Instructions on creating trigger tokens: https://docs.gitlab.com/ee/ci/triggers/
40
42
41
43
None.
42
44
43
-
## Example usage
45
+
## Usage
46
+
47
+
In order to make use of this triggering workflow, there are two steps:
48
+
1. Setup deployment environments
49
+
2. Call the workflow
50
+
51
+
### Setting up the deployment environments
52
+
In order to correctly use this triggering workflow - one is required to create deployment environments called `External` and `Internal` for their project.
53
+
`External` environment corresponds for contributions from 3rd-party companies or developers.
54
+
This deployment environment should have protection rules configured to provide a limited list of github users who an approve the workflow run.
55
+
56
+
`Internal` environment represents contributions from internal members of the organization. Therefore no additional environment protection rules are required.
57
+
58
+
In order to setup these environments, go to your project `settings`, then `Environments`.
59
+
Click on the button called "New environment", and name the first environment `Internal`, later repeat the process, for the environment called `External`.
0 commit comments