Skip to content

Wip Ho pre mine create commands test #24

Wip Ho pre mine create commands test

Wip Ho pre mine create commands test #24

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}}