Files
blockly/.github/workflows/conventional-label.yml
dependabot[bot] 7e65f70dd9 chore(deps): bump actions/checkout from 4 to 5 (#9418)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-20 17:13:11 -07:00

43 lines
1.1 KiB
YAML

on:
pull_request_target:
types:
- opened
- edited
name: commit lint & label
jobs:
lint:
runs-on: ubuntu-latest
env:
PR_TITLE: ${{ github.event.pull_request.title }}
permissions:
pull-requests: read
contents: read
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v5
with:
node-version: lts/*
cache: npm
- name: Install dependencies
run: npm ci
- name: Check PR title
id: check-pr-title
run: echo "$PR_TITLE" | npx commitlint --verbose
label:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: bcoe/conventional-release-labels@v1
with:
type_labels:
'{"feat": "PR: feature", "fix": "PR: fix", "breaking": "breaking
change", "chore": "PR: chore", "docs": "PR: docs", "refactor": "PR:
refactor", "revert": "PR: revert", "deprecate": "deprecation"}'
ignored_types: '[]'