Skip to content

Commit

Permalink
ci: PR-Lint for PR titles
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Aug 16, 2024
1 parent 4ff64d4 commit 683394d
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "Lint PR"

on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
docs
style
refactor
perf
test
ci
scopes: |
deps
main
app
action
io
types
version
client
requireScope: false

0 comments on commit 683394d

Please sign in to comment.