Skip to content

Commit

Permalink
Remove mristin opinionated-commit-message
Browse files Browse the repository at this point in the history
This removes the mristin opinionated-commit action
  • Loading branch information
henrykironde committed May 12, 2023
1 parent 46fe5ab commit b260cf8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'Check commit message style'
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
push:
branches:
- main

jobs:
check-commit-message-style:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

name: Check commit message style
steps:
- name: Check PR commit message
uses: mristin/[email protected]

- name: Check commit messages in PR
uses: gsactions/commit-message-checker@v2
with:
pattern: ^[A-Za-z0-9\s$&+,:;=?@#|'`<>.^*()%!-]{15,50}$
flags: 'gm'
excludeDescription: 'true' # optional: this excludes the description body of a pull request
excludeTitle: 'true' # optional: this excludes the title of a pull request
checkAllCommitMessages: 'true'
error: 'Length of commit messages should be between 15 to 50 chars long'
accessToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b260cf8

Please sign in to comment.