You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

block-unconventional-commits.yml 869B

12345678910111213141516171819202122232425262728293031
  1. # This workflow is provided via the organization template repository
  2. #
  3. # https://github.com/nextcloud/.github
  4. # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
  5. name: Block unconventional commits
  6. on:
  7. pull_request:
  8. types: [opened, ready_for_review, reopened, synchronize]
  9. permissions:
  10. contents: read
  11. concurrency:
  12. group: block-unconventional-commits-${{ github.head_ref || github.run_id }}
  13. cancel-in-progress: true
  14. jobs:
  15. block-unconventional-commits:
  16. name: Block unconventional commits
  17. runs-on: ubuntu-latest-low
  18. steps:
  19. - name: Checkout
  20. uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
  21. - uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
  22. with:
  23. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}