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 975B

12345678910111213141516171819202122232425262728293031323334
  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. #
  6. # SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  7. # SPDX-License-Identifier: MIT
  8. name: Block unconventional commits
  9. on:
  10. pull_request:
  11. types: [opened, ready_for_review, reopened, synchronize]
  12. permissions:
  13. contents: read
  14. concurrency:
  15. group: block-unconventional-commits-${{ github.head_ref || github.run_id }}
  16. cancel-in-progress: true
  17. jobs:
  18. block-unconventional-commits:
  19. name: Block unconventional commits
  20. runs-on: ubuntu-latest-low
  21. steps:
  22. - name: Checkout
  23. uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
  24. - uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
  25. with:
  26. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}