This commit implements a dynamic checkout ref for the gem_ci workflow. This is because we will be updating the calling workflows to be run on the pull_request_target trigger so they can safely access secrets, so this extra checkout logic is needed in order to checkout the head branch.
Summary
Provide a detailed description of all the changes present in this pull request.
Additional Context
Add any additional context about the problem here.
[ ] Root cause and the steps to reproduce. (If applicable)
This commit implements a dynamic checkout ref for the gem_ci workflow. This is because we will be updating the calling workflows to be run on the pull_request_target trigger so they can safely access secrets, so this extra checkout logic is needed in order to checkout the head branch.
Summary
Provide a detailed description of all the changes present in this pull request.
Additional Context
Add any additional context about the problem here.
Related Issues (if any)
Mention any related issues or pull requests.
Checklist