mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-02 10:53:17 +00:00
ci: Add PR title lint workflow (#472)
This commit is contained in:
parent
ced98ae029
commit
1d7ddf22a5
1 changed files with 44 additions and 0 deletions
44
.github/workflows/pr_lint.yml
vendored
Normal file
44
.github/workflows/pr_lint.yml
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
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@v5
|
||||||
|
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
|
||||||
|
requireScope: false
|
||||||
|
ignoreLabels: |
|
||||||
|
ignore-lint-pr-title
|
||||||
Loading…
Add table
Reference in a new issue