Files
MapLibreParticleLab/.github/workflows/validate-pr-title.yml
dependabot[bot] 2055a06fe0 Bump the github-actions group across 1 directory with 18 updates (#4196)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2026-03-31 22:17:14 +00:00

23 lines
608 B
YAML

name: Validate PR title
on:
pull_request:
types: [labeled, unlabeled, opened, edited]
jobs:
validate-tags-match-title:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v4
with:
node-version-file: ".nvmrc"
- name: Check if labels match PR title
env:
PR_TITLE: ${{ github.event.pull_request.title }}
PR_LABELS: ${{ join(github.event.pull_request.labels.*.name, ',') }}
run: node .github/scripts/validate-pr-title.ts