-
Notifications
You must be signed in to change notification settings - Fork 8
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
1 parent
6272a40
commit eaca99b
Showing
1 changed file
with
15 additions
and
15 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 |
---|---|---|
|
@@ -2,20 +2,20 @@ name: ConventionalCommitChecker | |
|
||
on: [pull_request, push] | ||
|
||
jobs: | ||
conventional-commits-checker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: taskmedia/[email protected] | ||
with: | ||
# token to access GitHub API to receive PR commits | ||
# Default: ${{ github.token }} | ||
token: "" | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
- run: cd .github/conventionalcommits && npm install | ||
- run: cd .github/conventionalcommits && npm run build --if-present | ||
# skip merge commits | ||
# Default: true | ||
skip_merge: "" | ||
|
||
- name: conventional-commits-checker | ||
id: hello | ||
uses: ./.github/conventionalcommits/ | ||
# skip revert commits | ||
# Default: true | ||
skip_revert: "" | ||
|
||
# allow different types in commit message | ||
# Default: fix|feat|revert | ||
types: "" |