Skip to content

Commit 6de0247

Browse files
authored
Merge pull request #3210 from k8s-infra-cherrypick-robot/cherry-pick-3207-to-release-1.9
[release-1.9] 🌱 pr-verify: use env var for passing the PR title
2 parents 06228a1 + 23a1c1a commit 6de0247

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)