Skip to content

Commit

Permalink
ci: use bonitasoft/actions pr-title-conventional-commits (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard authored Nov 21, 2022
1 parent 5517eef commit 61189f4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/commit-message-check-format.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Commit Message format check
name: Commit Message format check

on:
pull_request:
pull_request_target:
# trigger when the PR title changes
types: [opened, edited, reopened]

jobs:
check-for-cc:
pr-title:
runs-on: ubuntu-22.04
permissions:
pull-requests: write # post comments when the PR title doesn't match the "Conventional Commits" rules
steps:
- name: check-for-cc
id: check-for-cc
uses: agenthunt/[email protected]
with:
pr-body-regex: '(.*\n*)+(.*)'
- name: Check Pull Request title
uses: bonitasoft/actions/packages/pr-title-conventional-commits@v2

0 comments on commit 61189f4

Please sign in to comment.