Replace importcfg.json with config TOML file #30
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
name: DCO commit signoff check | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
check-commit-message: | |
name: Check commit message | |
runs-on: ubuntu-latest | |
steps: | |
- name: Searching for "Signed-off" | |
uses: gsactions/commit-message-checker@v2 | |
with: | |
pattern: 'Signed-off-by: \S+( \S+)* <\S+@\S+>' | |
error: "Commit message does not include DCO signature; please see CONTRIBUTING.md." | |
excludeDescription: 'true' | |
excludeTitle: 'true' | |
checkAllCommitMessages: 'true' | |
accessToken: ${{ secrets.GITHUB_TOKEN }} | |
permissions: read-all |