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
Co-Authored-By: Aviv Keller <[email protected]>
  • Loading branch information
chrischdi and RedYetiDev committed Sep 27, 2024
1 parent f79cfef commit 280b7ac
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 280b7ac

Please sign in to comment.