Fix broken links on the snapshot and restore docs #412
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: commit-linter | |
on: | |
pull_request: | |
types: ['opened', 'edited', 'reopened', 'synchronize'] | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install CommitLint and Dependencies | |
run: npm install @commitlint/config-conventional @commitlint/cli | |
- name: Lint Commits | |
run: | | |
first_commit=${{ github.event.pull_request.base.sha }} | |
last_commit=${{ github.event.pull_request.head.sha }} | |
npx commitlint --from $first_commit --to $last_commit -V |