Skip to content

Commit

Permalink
ci: add pr check for conventional commit spec compliance (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 authored Apr 11, 2024
1 parent c0baf5e commit a3df47f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Lint PR"

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

permissions:
pull-requests: read

jobs:
lint:
name: Validate PR title for conventional commit compliance
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a3df47f

Please sign in to comment.