Skip to content

Commit b4fe491

Browse files
authored
ci: pass CI_COMMIT_TITLE to gitlab (#1544)
# What does this PR do? Pass `$CI_COMMIT_TITLE` to gitlab jobs in order to use it in some rules.
1 parent 5b504e5 commit b4fe491

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/release-proposal-dispatch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ jobs:
353353
354354
echo "PR_BODY: $PR_BODY"
355355
356+
# NOTE: the PR title is used to filter gitlab CI jobs. If you change it, you need to update the gitlab CI job filter.
356357
gh pr create \
357358
--head "$BRANCH_NAME" \
358359
--title "chore(release): proposal for ${{ inputs.crate }}" \

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ trigger_internal_build:
1818
LIBDATADOG_PULL_REQUEST_ID: $CI_EXTERNAL_PULL_REQUEST_IID
1919
LIBDATADOG_BASE_COMMIT_SHA: $CI_MERGE_REQUEST_DIFF_BASE_SHA
2020
LIBDATADOG_COMMIT_BEFORE_SHA: $CI_COMMIT_BEFORE_SHA
21+
LIBDATADOG_COMMIT_TITLE: $CI_COMMIT_TITLE
22+
2123
trigger:
2224
project: DataDog/apm-reliability/libddprof-build
2325
strategy: depend

0 commit comments

Comments
 (0)