wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.06k stars 614 forks source link

Fix robotpy PR commenting for real this time #6723

Closed Gold856 closed 3 months ago

Gold856 commented 3 months ago

The docs say that GITHUB_TOKEN will be given write permissions when using pull_request_target. Using pull_request means the permissions will be read-only.

PeterJohnson commented 3 months ago

This removes the GitHub-token? Is one provided by default?

Gold856 commented 3 months ago

Yes, one is provided by default.

auscompgeek commented 3 months ago

Yeah, actions within @actions have special privilege to receive github.token as a default.