ci: allow passing specific sha in release action (#11109)
### Description
<!--
✍️ Write a short summary of your work.
If necessary, include relevant screenshots.
-->
Allows for passing in a commit sha to the release action to run a
point-in-time release.
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->