Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

28 wiersze
548 B

  1. name: Commit lint
  2. on:
  3. push:
  4. branches: [master, features]
  5. pull_request:
  6. branches: [master, features]
  7. jobs:
  8. commitlint:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v1
  12. - name: Set up Python
  13. uses: actions/setup-python@v1
  14. with:
  15. python-version: 3.9
  16. - name: Install dependencies
  17. run: |
  18. pip install --upgrade pip comlipy
  19. - name: Lint
  20. run: |
  21. message="$(git log --format=%B -n 1 HEAD)"
  22. echo $message
  23. comlipy -c config-comlipy.yml "$message"