MishaKav / pytest-coverage-comment

Comments a pull request with the pytest code coverage badge and full report

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add pull_request_target as valid event

chrisoro opened this issue · comments

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.

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

Awesome, thank you!

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