Skip to content

Commit

Permalink
pr-verify: use env var for passing the PR title
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi authored and k8s-infra-cherrypick-robot committed Sep 27, 2024
1 parent 6cf9d52 commit c70c6dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pr-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag=v4.1.7

- name: Check if PR title is valid
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
./hack/verify-pr-title.sh "${{ github.event.pull_request.title }}"
./hack/verify-pr-title.sh "${PR_TITLE}"

0 comments on commit c70c6dd

Please sign in to comment.