opensource-nepal / commitlint

commitlint is a tool designed to lint your commit messages according to the Conventional Commits standard for your pre-commit hook and GitHub Actions.
GNU General Public License v3.0
22 stars 9 forks source link

feat: support pull_request_target events #52

Closed kadams54 closed 5 months ago

kadams54 commented 5 months ago

Description

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:

Checklist

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.

aj3sh commented 5 months ago

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.