No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

31 líneas
697 B

  1. name: Semantic Commits
  2. on:
  3. pull_request: {}
  4. permissions:
  5. contents: read
  6. concurrency:
  7. group: commitcheck-erpnext-${{ github.event.number }}
  8. cancel-in-progress: true
  9. jobs:
  10. commitlint:
  11. name: Check Commit Titles
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v3
  15. with:
  16. fetch-depth: 200
  17. - uses: actions/setup-node@v3
  18. with:
  19. node-version: 14
  20. check-latest: true
  21. - name: Check commit titles
  22. run: |
  23. npm install @commitlint/cli @commitlint/config-conventional
  24. npx commitlint --verbose --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }}