Skip to content

Commit

Permalink
feat: add conventional commit workflow (#5)
Browse files Browse the repository at this point in the history
add conventional commit workflow
  • Loading branch information
jfuen10 authored Apr 25, 2024
1 parent 8f58cce commit d0a3de9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/conventional-commit-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Conventional Commit Check"

on:
pull_request:
branches:
- main
types:
- opened
- reopened
- edited
- synchronize
jobs:
pr:
name: Validate PR title
if: contains(fromJSON('["pull_request", "pull_request_target"]'), github.event_name)
runs-on: ubuntu-22.04
permissions:
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d0a3de9

Please sign in to comment.