Skip to content

Commit b6caf3c

Browse files
authored
Merge pull request #3209 from k8s-infra-cherrypick-robot/cherry-pick-3207-to-release-1.10
[release-1.10] 🌱 pr-verify: use env var for passing the PR title
2 parents ec192ef + 61f6f11 commit b6caf3c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pr-verify.yaml

+3-2
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)