pull_request events don't have the necessary privileges to access private repos. Adding support for the pull_request_target event will allow private repos to also use commit lint.
Related Issue
[If your pull request is related to an existing issue, reference it here using the format "Fixes #issue_number".]
Type of Change
Please mark the appropriate option below to describe the type of change your pull request introduces:
[ ] Bug fix
[x] New feature
[ ] Enhancement
[ ] Documentation update
[ ] Refactor
[ ] Other (please specify)
Checklist
[x] My pull request has a clear title and description.
[x] I have used semantic commit messages.
Examples: "fix: Fixed foobar bug", "feat(accounts): Added foobar feature".
[x] I have added/updated the necessary documentation on README.md.
[x] I have added appropriate test cases (if applicable) to ensure the changes are functioning correctly.
Additional Notes
[Add any additional notes or context that you think the reviewers should know about.]
By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.
Hi @kadams54, Thank you for contributing and adding a new feature in the commitlint. We will quickly review the code and the pull_request_target event details.
This is a must-have feature that we have missed.
Description
pull_request
events don't have the necessary privileges to access private repos. Adding support for thepull_request_target
event will allow private repos to also use commit lint.Related Issue
[If your pull request is related to an existing issue, reference it here using the format "Fixes #issue_number".]
Type of Change
Please mark the appropriate option below to describe the type of change your pull request introduces:
Checklist
"fix: Fixed foobar bug"
,"feat(accounts): Added foobar feature"
.README.md
.Additional Notes
[Add any additional notes or context that you think the reviewers should know about.]
By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.