Files
MapLibreParticleLab/.github/workflows/validate-pr-title.yml
dependabot[bot] 4fab83669a Bump the github-actions group across 1 directory with 6 updates (#4065)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 01:02:17 +01: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@6044e13b5dc448c55e2357c09f80417699197238 # 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