Skip to content

Commit

Permalink
ci(tdd): use base sha instead of base ref
Browse files Browse the repository at this point in the history
  • Loading branch information
pinbraerts committed Dec 15, 2024
1 parent e475411 commit db8aad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db8aad3

Please sign in to comment.