Skip to content

Commit 8ec9b44

Browse files
Merge pull request #56 from conventional-changelog/master
[pull] master from conventional-changelog:master
2 parents a8e8d39 + c6fa2eb commit 8ec9b44

File tree

4 files changed

+823
-707
lines changed

4 files changed

+823
-707
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
pull_request:
88
types: [opened, synchronize]
99

10+
workflow_dispatch:
11+
12+
# to execute once a day (more info see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule )
13+
schedule:
14+
- cron: '0 0 * * *'
15+
1016
jobs:
1117
build:
1218
strategy:
@@ -47,7 +53,7 @@ jobs:
4753
run: yarn install --ignore-engines --frozen-lockfile
4854

4955
- name: Check format
50-
run: yarn format
56+
run: yarn format || (yarn format-fix; git diff --exit-code)
5157

5258
- name: Lint
5359
run: yarn lint

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,8 @@ Features will only be applied to the current main version.
170170

171171
| Release | Initial release |
172172
| -------------------------------------------------------------------------------- | --------------- |
173+
| [v19](https://github.com/conventional-changelog/commitlint/releases/tag/v19.0.0) | 02/2024 |
173174
| [v18](https://github.com/conventional-changelog/commitlint/releases/tag/v18.0.0) | 10/2023 |
174-
| [v17](https://github.com/conventional-changelog/commitlint/releases/tag/v17.0.0) | 05/2022 |
175-
| [v16](https://github.com/conventional-changelog/commitlint/releases/tag/v16.0.0) | 12/2021 |
176-
| [v15](https://github.com/conventional-changelog/commitlint/releases/tag/v15.0.0) | 11/2021 |
177-
| [v14](https://github.com/conventional-changelog/commitlint/releases/tag/v14.0.0) | 10/2021 |
178-
| [v13](https://github.com/conventional-changelog/commitlint/releases/tag/v13.0.0) | 05/2021 |
179-
| [v12](https://github.com/conventional-changelog/commitlint/releases/tag/v12.0.0) | 02/2021 |
180-
| [v11](https://github.com/conventional-changelog/commitlint/releases/tag/v11.0.0) | 09/2020 |
181175

182176
EOL is usually after around a year.
183177

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"docs-preview": "vitepress preview docs",
1818
"lint": "eslint . --ext .js,.ts",
1919
"lint-fix": "eslint . --ext .js,.ts --fix",
20-
"format": "prettier **/*.{ts,js,json,yml,md} -l",
20+
"format": "prettier **/*.{ts,js,json,yml,md} --check",
2121
"format-fix": "prettier **/*.{ts,js,json,yml,md} --write",
2222
"publish": "lerna publish --conventional-commits",
2323
"reinstall": "yarn clean && yarn install",

0 commit comments

Comments
 (0)