Skip to content

Commit

Permalink
Merge pull request #3207 from chrischdi/pr-fix-pr-verify-title
Browse files Browse the repository at this point in the history
🌱 pr-verify: use env var for passing the PR title
  • Loading branch information
k8s-ci-robot authored Sep 27, 2024
2 parents 8f46e35 + f10bab9 commit 962afce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ 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 962afce

Please sign in to comment.