Skip to content

Commit

Permalink
Merge pull request #1067 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 f79cfef + 280b7ac commit 034c81c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag=v4.1.7

- name: Check if PR title is valid
run: |
./hack/verify-pr-title.sh "${{ github.event.pull_request.title }}"
- 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 "${PR_TITLE}"

0 comments on commit 034c81c

Please sign in to comment.