generated from cheqd/.github
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: PR Title Check | ||
on: | ||
pull_request_target: | ||
branches: | ||
- main | ||
- 'release/**' | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
- synchronize | ||
- ready_for_review | ||
- review_requested | ||
|
||
|
||
jobs: | ||
lint-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
# check for the most recent release: https://github.com/CondeNast/conventional-pull-request-action/releases | ||
# replace vX.X.X below with the most recently released version | ||
- uses: CondeNast/conventional-pull-request-action@v0.1.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
# to override config-conventional rules, specify a relative path to your rules module, actions/checkout is required for this setting! | ||
commitlintRulesPath: ".github/linters/.commitlint.rules.js" # default: undefined | ||
# if the PR contains a single commit, fail if the commit message and the PR title do not match | ||
commitTitleMatch: "false" # default: 'true' |