From 1c40f6534a82186070144a6ebd300f07cc9ffd79 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Fri, 27 Sep 2024 12:04:07 +0200 Subject: [PATCH] pr-verify: use env var for passing the PR title Co-Authored-By: Aviv Keller --- .github/workflows/verify.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 75fdebd23..f273c0b0a 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -12,5 +12,7 @@ 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}"