Skip to content

Commit a72dfad

Browse files
authored
Merge pull request #2963 from k8s-infra-cherrypick-robot/cherry-pick-2961-to-release-0.18
[release-0.18] 🌱 pr-verify: use env var for passing the PR title
2 parents b61de79 + ec42a4d commit a72dfad

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/verify.yml

Lines changed: 4 additions & 3 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-
run: |
16-
./hack/verify-pr-title.sh "${{ github.event.pull_request.title }}"
17-
15+
env:
16+
PR_TITLE: ${{ github.event.pull_request.title }}
17+
run: |
18+
./hack/verify-pr-title.sh "${{ github.event.pull_request.title }}"

0 commit comments

Comments
 (0)