chore: update codeql-action in GitHub workflow to v3 #177
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: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
# See: https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012 | |
push: | |
branches: | |
- main | |
- gh-pages | |
pull_request: | |
branches: | |
- main | |
- gh-pages | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/commitlint-github-action@v6 |