Skip to content

refactor(type): return all errors when validating array #73

refactor(type): return all errors when validating array

refactor(type): return all errors when validating array #73

Workflow file for this run

on:
pull_request:
types: [synchronize, edited, opened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
timeout-minutes: 10
- name: Lint commit messages
run: yarn commitlint --from $BASE_SHA --to $HEAD_SHA --verbose
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
- name: Lint pull request title
run: echo $PR_TITLE | yarn commitlint --verbose
env:
PR_TITLE: ${{ github.event.pull_request.title }}