Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: PR Lint

on:
pull_request:
types: [opened, edited, synchronize, reopened]

permissions:
pull-requests: read

jobs:
conventional-commits:
name: Conventional commit title
runs-on: ubuntu-latest
steps:
- name: Validate PR title follows Conventional Commits
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
# Conventional Commits pattern: type(scope)!: description
# Types: feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert
PATTERN='^(feat|fix|docs|style|refactor|perf|test|chore|ci|build|revert)(\(.+\))?!?: .{3,}'
if echo "$PR_TITLE" | grep -qE "$PATTERN"; then
echo "✅ PR title follows Conventional Commits format: $PR_TITLE"
else
echo "❌ PR title does not follow Conventional Commits format."
echo ""
echo "Expected format: type(scope): description"
echo "Examples:"
echo " feat(storage): add blob compression"
echo " fix(sync): handle disconnected peers gracefully"
echo " docs: update CONTRIBUTING guide"
echo " chore(deps): bump @plures/design-dojo to 0.10.6"
echo ""
echo "Valid types: feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert"
echo ""
echo "Got: $PR_TITLE"
exit 1
fi
35 changes: 15 additions & 20 deletions web/svelte/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
},
"dependencies": {
"@monaco-editor/loader": "^1.5.0",
"@plures/design-dojo": "^0.10.6",
"cytoscape": "^3.29.3",
"cytoscape-cola": "^2.5.1",
"cytoscape-cose-bilkent": "^4.1.0",
Expand Down
Loading