When the Rust workflow is triggered by a pull request, it checks out the last commit on the main branch instead of the last commit in the pull request / forked branch. The following code block is of the Run actions/checkout@v3 step from the Rust check on #50, as an example.
Bug Description
When the Rust workflow is triggered by a pull request, it checks out the last commit on the
main
branch instead of the last commit in the pull request / forked branch. The following code block is of theRun actions/checkout@v3
step from the Rust check on #50, as an example.Terminal Output
Reproduction Steps
main
branchExpected Behavior
The Rust check should checkout the last commit in the pull request / forked branch.
Workaround
No response
Library Version
1.0.0-alpha.7
rustc Version
1.68.0
cargo Version
1.68.0
Platform
Linux