Skip to content

Commit

Permalink
ci: enforce conventional commits in PR titles (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse authored Sep 7, 2023
1 parent 3fd69f7 commit c7a7352
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint_pr_title.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# https://github.com/amannn/action-semantic-pull-request
name: "Lint PR against Conventional Commits"

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

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 }}

0 comments on commit c7a7352

Please sign in to comment.