mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-23 16:12:25 +02:00
## Problem Dependabot opens dev-dependency PRs with titles like `chore(deps-dev): bump mypy ...`. The `lint-pr-title` check (amannn/action-semantic-pull-request) rejects them because **`deps-dev` is not in the allowed scopes**: ``` Unknown scope "deps-dev" found in pull request title ... Scope must match one of: checkpoint, checkpoint-postgres, checkpoint-sqlite, cli, langgraph, prebuilt, scheduler-kafka, sdk-py, docs, ci, deps. ``` This is the **only** failing check on several open Dependabot PRs (#7977, #7966, #7967, #7968) and adds noise to others (#7969, #7970, #7974). ## Change Add `deps-dev` to the allowed `scopes:` list in `.github/workflows/pr_lint.yml` (one line). No other changes; workflow permissions remain `pull-requests: read`. ## Effect Existing and future `chore(deps-dev):` Dependabot PRs pass title validation. PRs blocked *only* by this become mergeable once their (passing) checks re-run. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
48 lines
989 B
YAML
48 lines
989 B
YAML
name: PR Title Lint
|
|
|
|
permissions:
|
|
pull-requests: read
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, edited, synchronize]
|
|
|
|
jobs:
|
|
lint-pr-title:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Validate PR Title
|
|
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
types: |
|
|
feat
|
|
fix
|
|
docs
|
|
style
|
|
refactor
|
|
perf
|
|
test
|
|
build
|
|
ci
|
|
chore
|
|
revert
|
|
release
|
|
scopes: |
|
|
checkpoint
|
|
checkpoint-postgres
|
|
checkpoint-sqlite
|
|
cli
|
|
langgraph
|
|
prebuilt
|
|
scheduler-kafka
|
|
sdk-py
|
|
docs
|
|
ci
|
|
deps
|
|
deps-dev
|
|
requireScope: false
|
|
ignoreLabels: |
|
|
ignore-lint-pr-title
|