fix: change email input type to text and trim value before verification #368
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: Lint Commit Messages | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Ensures commit history is pulled | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 'lts/*' | |
- name: Install dependencies | |
run: npm install @commitlint/config-conventional @commitlint/cli | |
- name: Lint Commit Messages | |
run: npx commitlint --from=HEAD~1 --to=HEAD --verbose |