open-swe/.github/workflows/pr_lint.yml
Adam Moussa e9271c946f
ci: allow deps-dev, ui, deploy, ci, infra scopes in PR title lint (#88)
* ci: allow deps-dev, ui, deploy, ci scopes in PR title lint

Dependabot dev-dependency PRs use the deps-dev scope and humans commonly
use ui/deploy/ci, none of which were in the allowed list, so lint-pr-title
failed on otherwise-valid PRs.

* ci: allow infra scope in PR title lint
2026-06-30 19:12:14 -04:00

46 lines
926 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.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
release
scopes: |
shared
cli
web
ui
open-swe
docs
deps
deps-dev
deploy
ci
infra
requireScope: false
ignoreLabels: |
ignore-lint-pr-title