fix GitHub Workflow to check syntax with Vale #6
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: Check Commit Messages | |
on: push | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Download .commitlintrc.js | |
uses: suisei-cn/[email protected] | |
with: | |
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.commitlintrc.js" | |
- name: Lint the commits | |
uses: wagoid/[email protected] | |
with: | |
configFile: .commitlintrc.js | |
failOnWarnings: true |