mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2026-04-06 09:36:53 +00:00
feat: add ability to run commitlint on events that are not pull requests
For any event that is not of type `pull_request`, we consider there will be a `GITHBU_SHA` defined and run lint against only this specific commit sha. This supports not only events of type `pull` but also other events that provide us a `GITHBU_SHA`, like `check_suite`.
This commit is contained in:
parent
8bf6195a48
commit
23cd801837
4 changed files with 80 additions and 32 deletions
|
|
@ -16,6 +16,7 @@
|
|||
"homepage": "https://github.com/wagoid/commitlint-github-action",
|
||||
"dependencies": {
|
||||
"@actions/core": "1.1.1",
|
||||
"@actions/exec": "1.0.1",
|
||||
"@actions/github": "1.1.0",
|
||||
"@commitlint/config-angular": "8.2.0",
|
||||
"@commitlint/config-conventional": "7.6.0",
|
||||
|
|
@ -24,9 +25,9 @@
|
|||
"@commitlint/format": "8.2.0",
|
||||
"@commitlint/lint": "8.2.0",
|
||||
"@commitlint/load": "8.2.0",
|
||||
"@commitlint/read": "8.2.0",
|
||||
"commitlint-config-jira": "1.0.9",
|
||||
"conventional-changelog-lint-config-canonical": "1.0.0"
|
||||
"conventional-changelog-lint-config-canonical": "1.0.0",
|
||||
"git-raw-commits": "2.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"conventional-changelog-cli": "2.0.23",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue