Test CI #1023
Workflow file for this run
This file contains hidden or 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
# Make sure commit subject and description follow the Conventional Commits spec. | |
# See https://www.conventionalcommits.org/ | |
name: "lint-commitlint.yml" | |
on: | |
pull_request: {} | |
concurrency: | |
group: "${{ github.workflow }}:${{ github.event.pull_request.number }}" | |
cancel-in-progress: true | |
jobs: | |
commitlint: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
persist-credentials: "false" | |
# Acceptable commit subject types are: | |
# | |
# - build | |
# - bump | |
# - chore | |
# - ci | |
# - docs | |
# - feat | |
# - fix | |
# - perf | |
# - refactor | |
# - revert | |
# - style | |
# - test | |
# | |
# See https://github.com/opensource-nepal/commitlint/blob/main/src/commitlint/constants.py | |
- name: "Run commitlint on Pull Request's commits" | |
uses: "opensource-nepal/commitlint@v1" |