commits.yml 700 B

123456789101112131415161718192021222324252627282930
  1. name: Commits
  2. on:
  3. push:
  4. branches: [ main ]
  5. pull_request:
  6. branches: [ main ]
  7. concurrency:
  8. group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
  9. cancel-in-progress: true
  10. jobs:
  11. conventional-commits:
  12. name: Conventional Commits
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/checkout@v4
  16. - uses: webiny/action-conventional-commits@v1.3.0
  17. no-merge-commits:
  18. name: No Merge Commits
  19. runs-on: ubuntu-latest
  20. steps:
  21. - name: Checkout
  22. uses: actions/checkout@v3
  23. - name: Run test
  24. uses: NexusPHP/no-merge-commits@v2.1.0
  25. with:
  26. token: ${{ secrets.GITHUB_TOKEN }}