Skip to content

fix(Gitea): remove deprecation warnings (#364) #136

fix(Gitea): remove deprecation warnings (#364)

fix(Gitea): remove deprecation warnings (#364) #136

Workflow file for this run

name: Check commit message format
on:
pull_request:
jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
- name: Install commitlint
run: |
npm install @commitlint/[email protected] @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
- name: Validate PR commits with commitlint
run: |
npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose