Skip to content

Commit c70c6dd

Browse files
chrischdik8s-infra-cherrypick-robot
authored and
k8s-infra-cherrypick-robot
committed
pr-verify: use env var for passing the PR title
1 parent 6cf9d52 commit c70c6dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pr-verify.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ 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 }}"
18+
./hack/verify-pr-title.sh "${PR_TITLE}"
1719

0 commit comments

Comments
 (0)