Skip to content

Commit cab2457

Browse files
authoredSep 27, 2024··
Merge pull request #3208 from k8s-infra-cherrypick-robot/cherry-pick-3207-to-release-1.11
[release-1.11] 🌱 pr-verify: use env var for passing the PR title
2 parents 228bb2f + 00bdfb2 commit cab2457

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)
Please sign in to comment.