You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our organisation we want to have strong pinning of any binaries installed via Actions, i.e by checksum - version alone isn't enough.
Since buf-action does not support pinning by checksum we need to install the binary ourselves. That's fine for us, but we would like to still be able to use this Action for execution only.
Installing buf before running the action will implicitly avoid installing it (see here). This doesn't guarantee that it won't be installed though and am hesitant to add a flag to explicitly disable it. Adding a checksum to validate the install sounds like a good approach. Would you be able to use the action install if it validates the checksum?
Activity
emcfarlane commentedon May 7, 2025
Installing
bufbefore running the action will implicitly avoid installing it (see here). This doesn't guarantee that it won't be installed though and am hesitant to add a flag to explicitly disable it. Adding a checksum to validate the install sounds like a good approach. Would you be able to use the action install if it validates the checksum?cedws commentedon May 8, 2025
Yeah if it supports checksum pinning I think that would be enough for us.
Add checksum to verify binary (#169)
cedws commentedon May 9, 2025
Many thanks!