From f10bab90ba9d4c24278aa8af019917d961544a03 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Fri, 27 Sep 2024 10:01:38 +0200 Subject: [PATCH] pr-verify: use env var for passing the PR title Co-Authored-By: Aviv Keller --- .github/workflows/pr-verify.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-verify.yaml b/.github/workflows/pr-verify.yaml index bbbc49529..f273c0b0a 100644 --- a/.github/workflows/pr-verify.yaml +++ b/.github/workflows/pr-verify.yaml @@ -12,6 +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}"