1
0

block-unconventional-commits.yml 975 B

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
  24. - uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
  25. with:
  26. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}