mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-23 01:18:30 +08:00
a921e7647e
This reverts commit 7c03c08317.
20 lines
712 B
YAML
20 lines
712 B
YAML
name: '[commit-lint] check commit message format'
|
|
|
|
on: [ pull_request ]
|
|
|
|
jobs:
|
|
commitlint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: setup-node
|
|
uses: actions/setup-node@master
|
|
with:
|
|
node-version: 16.x
|
|
- name: Install
|
|
run: npm install commitlint-plugin-function-rules@1.4.0 @commitlint/cli@13.1.0 @commitlint/config-conventional@13.1.0 @commitlint/config-conventional@13.1.0 @commitlint/lint@13.1.0 @commitlint/prompt-cli@13.1.0
|
|
- name: commitlint
|
|
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
|