Skip to content
Merged
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
19 changes: 19 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: PR Title
on:
pull_request:
types: [opened, edited, synchronize, reopened]

permissions:
pull-requests: read # Read PR details
contents: read # Read repository content

jobs:
conventional-commits:
timeout-minutes: 5
name: conventional-commits
runs-on: ubuntu-24.04
steps:
- uses: ytanikin/pr-conventional-commits@639145d78959c53c43112365837e3abd21ed67c1
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert","style","build"]'
add_label: 'false'
19 changes: 19 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

For questions or support, email <support@privy.io>.

## Pull requests

PR titles **must** follow [Conventional Commits](https://www.conventionalcommits.org/) format:

```
type(optional scope): description
```

Allowed types: `feat`, `fix`, `docs`, `test`, `ci`, `refactor`, `perf`, `chore`, `revert`, `style`, `build`.

Examples:

```
feat: add wallet balance endpoint
fix(auth): handle expired tokens
chore: update dependencies
```

A CI check will block merge if the PR title does not match this format.

### Code style & formatting

Expand Down
Loading