Skip to content

pin the actions/checkout GitHub Action to a specific version #7

pin the actions/checkout GitHub Action to a specific version

pin the actions/checkout GitHub Action to a specific version #7

Workflow file for this run

---
name: Check Commit Messages
on: push
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Download .commitlintrc.js
uses: suisei-cn/[email protected]
with:
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.commitlintrc.js"
- name: Lint the commits
uses: wagoid/[email protected]
with:
configFile: .commitlintrc.js
failOnWarnings: true