We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0582759 commit c187f75Copy full SHA for c187f75
.github/workflows/trigger-gitlab-pipeline.yml
@@ -29,6 +29,9 @@ on:
29
project-id:
30
description: 'GitLab project ID'
31
required: true
32
+ github-token:
33
+ description: 'GitHub token required only for private repositories'
34
+ required: false
35
36
jobs:
37
authorize-and-resolve-workflow-ref:
@@ -46,6 +49,8 @@ jobs:
46
49
with:
47
50
repository-name: NordSecurity/trigger-gitlab-pipeline
48
51
file-name: trigger-gitlab-pipeline.yml
52
+ # Only required for private repositories
53
+ github-token: ${{ secrets.github-token }}
54
outputs:
55
workflow-ref: ${{ steps.workflow-ref.outputs.sha }}
56
0 commit comments