diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-02-07 14:27:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 14:27:28 +0100 |
commit | 98de9bb318833dbfba44cea79b893fde0158a8a6 (patch) | |
tree | 22d4991d2fad3576609499053d11acfeae381a57 | |
parent | f19da0f6e3c8f5b634e3ce811c011957fb4c157f (diff) |
fix(git): Create block-unconventional-commits.yml
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
-rw-r--r-- | .github/workflows/block-unconventional-commits.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/block-unconventional-commits.yml b/.github/workflows/block-unconventional-commits.yml new file mode 100644 index 000000000..295c30bd6 --- /dev/null +++ b/.github/workflows/block-unconventional-commits.yml @@ -0,0 +1,31 @@ +# 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 + +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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + + - uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |