Skip to content

feat: add option to render json instead of hbs #13

feat: add option to render json instead of hbs

feat: add option to render json instead of hbs #13

Workflow file for this run

---
# Checks that PR titles conform to Conventional Commits
# See https://www.conventionalcommits.org/en/v1.0.0/ for more information
name: PR
'on':
pull_request:
types:
- opened
- reopened
- edited
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-title:
runs-on: ubuntu-latest
steps:
- name: install
run: |
npm install -g @commitlint/cli @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
- name: lint
run: |
echo "$PR_TITLE" | commitlint
env:
PR_TITLE: ${{github.event.pull_request.title}}