We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6980fb6 commit b84e2a0Copy full SHA for b84e2a0
1 file changed
.github/workflows/start-gitlab.yml
@@ -25,6 +25,7 @@ jobs:
25
GITHUB_REPO: ${{ github.repository }}
26
# The GitHub token for reporting status back
27
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
+ GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
29
GITHUB_REPO_URL: ${{ github.event.pull_request.head.repo.clone_url }}
30
run: |
31
# --- Safety Checks ---
@@ -50,6 +51,7 @@ jobs:
50
51
--form "variables[GITHUB_PR_SHA]=${GITHUB_PR_SHA}" \
52
--form "variables[GITHUB_PR_REF]=${GITHUB_PR_REF}" \
53
--form "variables[GITHUB_REPO]=${GITHUB_REPO}" \
54
+ --form "variables[GITHUB_PR_NUMBER]=${GITHUB_PR_NUMBER}" \
55
--form "variables[GITHUB_REPO_URL]=${GITHUB_REPO_URL}" \
56
"${GL_TRIGGER_URL}" > /dev/null
57
echo "GitLab pipeline triggered."
0 commit comments