Skip to content

Commit 962afce

Browse files
authored
Merge pull request #3207 from chrischdi/pr-fix-pr-verify-title
🌱 pr-verify: use env var for passing the PR title
2 parents 8f46e35 + f10bab9 commit 962afce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pr-verify.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag=v4.1.7
1313

1414
- name: Check if PR title is valid
15+
env:
16+
PR_TITLE: ${{ github.event.pull_request.title }}
1517
run: |
16-
./hack/verify-pr-title.sh "${{ github.event.pull_request.title }}"
17-
18+
./hack/verify-pr-title.sh "${PR_TITLE}"

0 commit comments

Comments
 (0)