ci: support semantic versioning, conventional commits #15

Merged
mvhutz merged 6 commits from ci/semantics-n-conventions into main 2026-04-03 13:46:06 +00:00
Showing only changes of commit db2dfb466b - Show all commits

View File

@@ -6,6 +6,17 @@ on:
pull_request:
jobs:
check-pr-title:
name: Check PR Title
runs-on: ubuntu-latest
steps:
- run: |
TITLE="${{ gitea.event.pull_request.title }}"
if ! echo "$TITLE" | grep -qE '^(feat|fix|docs|chore|ci|test|refactor|perf|build|style|revert)(\(.+\))?(!)?: .+'; then
echo "::error::Pull Request title must follow conventional commits"
exit 1
fi
lint-go:
name: Go Lint
runs-on: ubuntu-latest