diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bab91a9..ece97da 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -37,7 +37,7 @@ jobs: run: | case '${{ github.event.pull_request.title }}' in fix*|feat*|bug*) - git reset --hard ${{ github.base_ref }} + git reset --hard ${{ github.event.pull_request.base.sha }} cargo build --release git checkout ${{ github.sha }} -- tests !cargo test --verbose