5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00

Merge branch 'wagoid:master' into failonerrors-cmitzel

This commit is contained in:
Cooper Mitzel 2023-04-10 12:39:27 -04:00 committed by GitHub
commit 54c978f8bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 10 deletions

View file

@ -2,6 +2,22 @@
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
## [5.4.0](https://github.com/wagoid/commitlint-github-action/compare/v5.3.1...v5.4.0) (2023-04-10)
### Features
* **action:** adds flag to optionally fail on errors ([83467da](https://github.com/wagoid/commitlint-github-action/commit/83467da07bcf182bf7dead9d98090d358bb760d8))
### Bug Fixes
* **action:** add field to action ([8589bb7](https://github.com/wagoid/commitlint-github-action/commit/8589bb7e04b6baba23e93083597321c592b18593))
* **action:** fix bug with value, add tests ([2640e4c](https://github.com/wagoid/commitlint-github-action/commit/2640e4c8bf1ef522aea0d9fa997c4f07ee95ba97))
* **action:** refactor a value, add to docs ([7991e57](https://github.com/wagoid/commitlint-github-action/commit/7991e57b35c9a86cdda880119d9c4ca3b975b4fd))
* **docs:** remove dupe ([6a9739b](https://github.com/wagoid/commitlint-github-action/commit/6a9739b9a2f47cb6e51a850b6e82fa9c42a13f61))
* **tests:** remove log ([097b726](https://github.com/wagoid/commitlint-github-action/commit/097b726807006a63d6f34782aad667815f4217dc))
## [5.3.1](https://github.com/wagoid/commitlint-github-action/compare/v5.3.0...v5.3.1) (2023-02-15) ## [5.3.1](https://github.com/wagoid/commitlint-github-action/compare/v5.3.0...v5.3.1) (2023-02-15)
## [5.3.0](https://github.com/wagoid/commitlint-github-action/compare/v5.2.2...v5.3.0) (2022-11-24) ## [5.3.0](https://github.com/wagoid/commitlint-github-action/compare/v5.2.2...v5.3.0) (2022-11-24)

View file

@ -3,8 +3,7 @@ description: Lints Pull Request commit messages with commitlint
author: Wagner Santos author: Wagner Santos
inputs: inputs:
configFile: configFile:
description: description: Commitlint config file. If the file doesn't exist, config-conventional settings will be
Commitlint config file. If the file doesn't exist, config-conventional settings will be
loaded as a fallback. loaded as a fallback.
default: ./commitlint.config.js default: ./commitlint.config.js
required: false required: false
@ -13,15 +12,15 @@ inputs:
When set to true, we follow only the first parent commit when seeing a merge commit. When set to true, we follow only the first parent commit when seeing a merge commit.
More info in git-log docs More info in git-log docs
https://git-scm.com/docs/git-log#Documentation/git-log.txt---first-parent https://git-scm.com/docs/git-log#Documentation/git-log.txt---first-parent
default: 'true' default: "true"
required: false required: false
failOnWarnings: failOnWarnings:
description: Whether you want to fail on warnings or not description: Whether you want to fail on warnings or not
default: 'false' default: "false"
required: false required: false
failOnErrors: failOnErrors:
description: Whether you want to fail on errors or not description: Whether you want to fail on errors or not
default: 'true' default: "true"
required: true required: true
helpURL: helpURL:
description: Link to a page explaining your commit message convention description: Link to a page explaining your commit message convention
@ -29,7 +28,7 @@ inputs:
required: false required: false
commitDepth: commitDepth:
description: When set to a valid Integer value - X, considers only the latest X number of commits. description: When set to a valid Integer value - X, considers only the latest X number of commits.
default: '' default: ""
required: false required: false
token: token:
description: > description: >
@ -44,7 +43,7 @@ outputs:
description: The error and warning messages for each one of the analyzed commits description: The error and warning messages for each one of the analyzed commits
runs: runs:
using: docker using: docker
image: docker://wagoid/commitlint-github-action:5.3.1 image: docker://wagoid/commitlint-github-action:5.4.0
branding: branding:
icon: check-square icon: check-square
color: blue color: blue

4
package-lock.json generated
View file

@ -1,11 +1,11 @@
{ {
"name": "commitlint-github-action", "name": "commitlint-github-action",
"version": "5.3.1", "version": "5.4.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "5.3.1", "version": "5.4.0",
"hasInstallScript": true, "hasInstallScript": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {

View file

@ -1,6 +1,6 @@
{ {
"name": "commitlint-github-action", "name": "commitlint-github-action",
"version": "5.3.1", "version": "5.4.0",
"description": "commitlint github action", "description": "commitlint github action",
"private": true, "private": true,
"main": "./dist/run.js", "main": "./dist/run.js",