mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
docs: add information about running on push events
This commit is contained in:
parent
240ede8de1
commit
97a58520d3
1 changed files with 6 additions and 4 deletions
10
README.md
10
README.md
|
|
@ -20,6 +20,8 @@ jobs:
|
||||||
- uses: wagoid/commitlint-github-action@v1.1.1
|
- uses: wagoid/commitlint-github-action@v1.1.1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Alternatively, you can run on other event types such as `on: [push]`. In that case the action will lint the current commit instead of linting all commits from a pull request.
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
### `configFile`
|
### `configFile`
|
||||||
|
|
@ -39,10 +41,10 @@ Default `true`
|
||||||
|
|
||||||
This is a [`Docker` action](https://github.com/actions/toolkit/blob/e2adf403d6d14a9ca7474976ccaca20f72ff8209/docs/action-types.md#why-would-i-choose-a-docker-action), and was made like this so that you can run it with minimum setup, regardless of your repo's environment. It comes packed with the most famous shared configurations that you can use in your commitlint config's `extends` field:
|
This is a [`Docker` action](https://github.com/actions/toolkit/blob/e2adf403d6d14a9ca7474976ccaca20f72ff8209/docs/action-types.md#why-would-i-choose-a-docker-action), and was made like this so that you can run it with minimum setup, regardless of your repo's environment. It comes packed with the most famous shared configurations that you can use in your commitlint config's `extends` field:
|
||||||
|
|
||||||
- [@commitlint/config-angular](./@commitlint/config-angular)
|
- [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-angular)
|
||||||
- [@commitlint/config-conventional](./@commitlint/config-conventional)
|
- [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional)
|
||||||
- [@commitlint/config-lerna-scopes](./@commitlint/config-lerna-scopes)
|
- [@commitlint/config-lerna-scopes](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-lerna-scopes)
|
||||||
- [@commitlint/config-patternplate](./@commitlint/config-patternplate)
|
- [@commitlint/config-patternplate](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-patternplate)
|
||||||
- [conventional-changelog-lint-config-canonical](https://github.com/gajus/conventional-changelog-lint-config-canonical)
|
- [conventional-changelog-lint-config-canonical](https://github.com/gajus/conventional-changelog-lint-config-canonical)
|
||||||
- [commitlint-config-jira](https://github.com/Gherciu/commitlint-jira)
|
- [commitlint-config-jira](https://github.com/Gherciu/commitlint-jira)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue