Skip to content

Commit

Permalink
ci: Introduce workflow for conventional commits
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Aug 27, 2024
1 parent 9e6a152 commit 8698f58
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr-title.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PR title follows Conventional Commits
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize

jobs:
lint:
runs-on: ubuntu-latest
permissions:
statuses: write
steps:
- uses: aslafy-z/conventional-pr-title-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8698f58

Please sign in to comment.