25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

commitlint.yml 425 B

123456789101112131415161718192021
  1. name: Commit lint
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Use Node.js
  9. uses: actions/setup-node@v1
  10. with:
  11. node-version: 13.x
  12. - name: setup
  13. run: |
  14. npm install -g @commitlint/cli @commitlint/config-conventional
  15. - name: commitlint
  16. run: |
  17. git log --format=%B -n 1 $GITHUB_SHA | commitlint