Skip to content

Commit

Permalink
ci: validate pr title
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Jan 17, 2024
1 parent 6a86fd1 commit f3fe3e6
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,33 @@
name: Check PR title
name: Lint PR

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

jobs:
lint:
validate:
name: Validate PR title
permissions:
pull-requests: read
runs-on: ubuntu-latest
steps:
- uses: aslafy-z/conventional-pr-title-action@a0b851005a0f82ac983a56ead5a8111c0d8e044a # v3.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: amannn/action-semantic-pull-request@v5
with:
types: |
feat
fix
perf
deps
revert
docs
style
chore
refactor
test
build
ci
disallowScopes: |
release

0 comments on commit f3fe3e6

Please sign in to comment.