xalvarez / prevent-file-change-action

Fail a pull request workflow if certain files are changed
MIT License
14 stars 9 forks source link

add pull_request_target support #1024

Closed dp-sgr closed 1 month ago

dp-sgr commented 1 month ago

Adds pull_request_target support to the action.

@xalvarez I dind't include the dist, because i din't want to pollute the PR.

Feel free to adjust the PR if you wan't to implement/document something differently.

xalvarez commented 1 month ago

Hello @dp-sgr, thanks for your contribution! I'll review and test it next week.

dp-sgr commented 1 month ago

@xalvarez Thanks for the quick response. Looking forward to it :)

xalvarez commented 1 month ago

Hello @dp-sgr, I've tested your changes and did not encounter any issues. I will merge your changes and release them under version 1.7.0. I think I will wait a bit before officially deprecating pull_request support to see if any unexpected issues arise. Thanks again for your contribution!