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 8f46e35 commit f10bab9
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 f10bab9

Please sign in to comment.