Skip to content

build(deps-dev): bump vue-tsc from 3.3.6 to 3.3.9 #101

build(deps-dev): bump vue-tsc from 3.3.6 to 3.3.9

build(deps-dev): bump vue-tsc from 3.3.6 to 3.3.9 #101

Workflow file for this run

name: Lint / Commits
on:
workflow_call:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: lint-commits-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-commits:
runs-on: ubuntu-22.04
if: github.actor != 'dependabot[bot]'
steps:
- name: Check out repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Check commits
run: |
invalid_commits="$(git log --format=%s --no-merges origin/main..HEAD | grep -Ev '^(build|ci|docs|feat|fix|perf|refactor|style|test|chore)(\([^)]+\))?: .+$' || true)"
if [ -n "$invalid_commits" ]; then
echo "Commit messages must follow the Conventional Commits format."
printf '%s\n' "$invalid_commits"
exit 1
fi
shell: bash