Skip to content

Commit

Permalink
ci: add lint-pr-title.yml workflow (#364)
Browse files Browse the repository at this point in the history
Co-authored-by: Rishabh Poddar <[email protected]>
  • Loading branch information
xuatz and rishabhpoddar authored Jan 28, 2022
1 parent 37ab894 commit 4fcf8ab
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Lint PR Title"

on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize

jobs:
pr-title:
name: Lint PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
validateSingleCommit: true
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.9.0] - 2022-01-20
## [unreleased]

### Changes

- Supporting CDI v2.12
- Adding the `userId` to the reponse of `recipe/user/password/reset`
- Adds support for providing base path for all APIs: https://github.com/supertokens/supertokens-node/issues/252

- Add workflow to verify if pr title follows conventional commits
### New config param:

- `base_path` - default is `""` (No base path)
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Please ask as many questions as you need, either directly in the issue or on [Di
## Pull Request
1. Before submitting a pull request make sure all tests have passed
2. Reference the relevant issue or pull request and give a clear description of changes/features added when submitting a pull request
3. Make sure the PR title follows [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
## SuperTokens Community
SuperTokens is made possible by a passionate team and a strong community of developers. If you have any questions or would like to get more involved in the SuperTokens community you can check out:
Expand Down

0 comments on commit 4fcf8ab

Please sign in to comment.