mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 12:43:16 +00:00
* 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
46 lines
926 B
YAML
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
|