opta: swap i2c1 and i2c3 to restore compatibility with mbed cores #49
Workflow file for this run
This file contains hidden or 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
name: 'Check Commit Message' | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
branches: | |
- 'main' | |
jobs: | |
check-commit-messages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check commit messages format' | |
uses: gsactions/commit-message-checker@v2 | |
with: | |
pattern: '^[^!]+: [A-Za-z]+.+ .+$' | |
flags: 'gm' | |
error: 'Commit subject line must match the following pattern: <scope>: <description>' | |
excludeTitle: 'false' | |
excludeDescription: 'true' | |
checkAllCommitMessages: 'true' | |
accessToken: ${{ secrets.GITHUB_TOKEN }} | |
- name: 'Check commit messages length' | |
uses: gsactions/commit-message-checker@v2 | |
with: | |
pattern: '^[^#].{10,80}$' | |
error: 'Commit subject line maximum line length of 80 characters is exceeded.' | |
excludeTitle: 'false' | |
excludeDescription: 'true' | |
checkAllCommitMessages: 'true' | |
accessToken: ${{ secrets.GITHUB_TOKEN }} |