🌱 pr-verify: use env var for passing the PR title #2880
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR title verifier | |
on: | |
pull_request_target: | |
types: [opened, edited, synchronize, reopened] | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- 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}" |