Skip to content

Commit

Permalink
ci: use bonitasoft/actions pr-title-conventional-commits (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard authored Dec 16, 2022
1 parent d9f116b commit 2ee783b
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:
branches: [master]
types: [opened, edited, synchronize]
pull_request_target:
# trigger when the PR title changes
types: [opened, edited, reopened]

jobs:
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: Lint pull request title
uses: jef/conventional-commits-pr-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Check Pull Request title
uses: bonitasoft/actions/packages/pr-title-conventional-commits@v2

0 comments on commit 2ee783b

Please sign in to comment.