Skip to content

Commit

Permalink
Merge pull request #10106 from nextcloud/chore/noid/replace-unconvent…
Browse files Browse the repository at this point in the history
…ional-commits-workflow

chore: replace unconventional commits workflow
  • Loading branch information
kesselb authored Sep 9, 2024
2 parents 057d47b + 0ee5812 commit 4c8c5f7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 17 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/block-unconventional-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

name: Block unconventional commits

on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]

permissions:
contents: read

concurrency:
group: block-unconventional-commits-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
block-unconventional-commits:
name: Block unconventional commits

runs-on: ubuntu-latest-low

steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 0 additions & 17 deletions .github/workflows/conventional_commits.yml

This file was deleted.

0 comments on commit 4c8c5f7

Please sign in to comment.