-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use bonitasoft/actions pr-title-conventional-commits (#164)
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |