From c70c6dd3a69aac7bdadd0b1fd73049cd35490463 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Fri, 27 Sep 2024 09:06:56 +0200 Subject: [PATCH] pr-verify: use env var for passing the PR title --- .github/workflows/pr-verify.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-verify.yaml b/.github/workflows/pr-verify.yaml index bbbc49529b62..2cce835cbead 100644 --- a/.github/workflows/pr-verify.yaml +++ b/.github/workflows/pr-verify.yaml @@ -12,6 +12,8 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag=v4.1.7 - name: Check if PR title is valid + env: + PR_TITLE: ${{ github.event.pull_request.title }} run: | - ./hack/verify-pr-title.sh "${{ github.event.pull_request.title }}" + ./hack/verify-pr-title.sh "${PR_TITLE}"