Skip to content

chore: add Github Action to validate PR commits #18

chore: add Github Action to validate PR commits

chore: add Github Action to validate PR commits #18

Workflow file for this run

on:
pull_request:
branches: [ "main" ]
types: [opened, synchronize]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/[email protected]
- name: Get Dependencies
run: dart pub get
- name: Validate Title of PR
run: echo ${{ github.event.pull_request.title }} | dart bin/commitlint_cli.dart --config lib/commitlint.yaml