Add validation for commits in pull requests #7
Annotations
3 errors and 2 warnings
test
The message 1 is invalid:
* The line 3 of the message (line 1 of the body) exceeds the limit of 72 characters. The line contains 543 characters: "This update includes changes in the retrieval and validation of commit messages. It now supports the validation of commits within pull requests, primarily by extracting pull request commit messages and taking context from the GitHub API. A new dependency '@octokit/webhooks-types' has been added to help with this process. The option to validate pull request commits is also adjustable via a new input parameter. Changes are reflected in package.json, dist/index.js, package-lock.json, src/input.ts, src/mainImpl.ts, and src/commitMessages.ts.". Please reformat the body so that all the lines fit 72 characters.
The original message was:
Add validation for commits in pull requests
This update includes changes in the retrieval and validation of commit messages. It now supports the validation of commits within pull requests, primarily by extracting pull request commit messages and taking context from the GitHub API. A new dependency '@octokit/webhooks-types' has been added to help with this process. The option to validate pull request commits is also adjustable via a new input parameter. Changes are reflected in package.json, dist/index.js, package-lock.json, src/input.ts, src/mainImpl.ts, and src/commitMessages.ts.
Signed-off-by: Luiz Ferraz <luiz@lferraz.com>
|
test-allow-one-liners
The message 1 is invalid:
* The line 3 of the message (line 1 of the body) exceeds the limit of 72 characters. The line contains 543 characters: "This update includes changes in the retrieval and validation of commit messages. It now supports the validation of commits within pull requests, primarily by extracting pull request commit messages and taking context from the GitHub API. A new dependency '@octokit/webhooks-types' has been added to help with this process. The option to validate pull request commits is also adjustable via a new input parameter. Changes are reflected in package.json, dist/index.js, package-lock.json, src/input.ts, src/mainImpl.ts, and src/commitMessages.ts.". Please reformat the body so that all the lines fit 72 characters.
The original message was:
Add validation for commits in pull requests
This update includes changes in the retrieval and validation of commit messages. It now supports the validation of commits within pull requests, primarily by extracting pull request commit messages and taking context from the GitHub API. A new dependency '@octokit/webhooks-types' has been added to help with this process. The option to validate pull request commits is also adjustable via a new input parameter. Changes are reflected in package.json, dist/index.js, package-lock.json, src/input.ts, src/mainImpl.ts, and src/commitMessages.ts.
Signed-off-by: Luiz Ferraz <luiz@lferraz.com>
|
build
Process completed with exit code 1.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: ./. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test-allow-one-liners
The following actions uses node12 which is deprecated and will be forced to run on node16: ./. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|