Rename documents
key to terms
in service declarations for vocabulary consistency
#214
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: | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout "main" branch | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.base.ref }} | |
- name: Checkout the current pull request branch | |
run: | | |
git fetch --no-tags origin +refs/pull/${{ github.event.pull_request.number }}/head:${{ github.event.pull_request.head.ref }} | |
git checkout ${{ github.event.pull_request.head.ref }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint commit messages | |
run: npm run commit-messages:lint |