(role/rke) only support el9 #2687
Workflow file for this run
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
--- | |
# yamllint disable rule:quoted-strings | |
name: Commit Message Check | |
"on": pull_request | |
jobs: | |
check-commit-message: | |
name: Check Commit Message | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Commit Type | |
uses: gsactions/commit-message-checker@v2 | |
with: | |
pattern: '\([^)]+\) .+$' | |
flags: gm | |
error: Your first line has to contain a commit type like '(role/foo)'. | |
checkAllCommitMessages: "true" | |
accessToken: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Check Line Length | |
uses: gsactions/commit-message-checker@v2 | |
with: | |
pattern: '^(?!.{73})' | |
error: The maximum line length of 72 characters is exceeded. | |
checkAllCommitMessages: "true" | |
accessToken: "${{ secrets.GITHUB_TOKEN }}" |