MishaKav / pytest-coverage-comment

Comments a pull request with the pytest code coverage badge and full report
MIT License
181 stars 60 forks source link

Add pull_request_target as valid event #112

Closed chrisoro closed 1 year ago

chrisoro commented 1 year ago

Would it be possible to support this event? I would like to use this in my (protected) environment where there are no drawbacks to pull_request_target and it secret handling.

MishaKav commented 1 year ago

Sure it possible. I will add support for it very soon.

chrisoro commented 1 year ago

Awesome, thank you!

MishaKav commented 1 year ago

I add support for this, you can use:

- name: Pytest Coverage Comment
  uses: MishaKav/pytest-coverage-comment@main

or use a specific version

- name: Pytest Coverage Comment
  uses: MishaKav/pytest-coverage-comment@v1.1.44