Skip to content

Commit 9a9c460

Browse files
Merge branch 'main' into test-impact
2 parents 93c35ce + 7abcf62 commit 9a9c460

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/change_impact.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
ref: ${{ github.event.issue.pull_request.head.ref }}
3131
fetch-depth: 0 # needed for full commit history
3232

33+
- name: Show current commit
34+
run: |
35+
echo "Current HEAD: $(git rev-parse HEAD)"
36+
3337
3438
- name: Install Rust toolchain
3539
uses: actions-rs/toolchain@v1
@@ -54,8 +58,16 @@ jobs:
5458
echo "Base commit: $BASE_COMMIT"
5559
echo "BASE_COMMIT=$BASE_COMMIT" >> $GITHUB_ENV
5660
61+
- name: Ensure PR branch remains checked out
62+
run: |
63+
git checkout ${{ github.event.issue.pull_request.head.ref }}
64+
echo "Checked out branch: $(git rev-parse HEAD)"
5765
58-
66+
- name: Show current commit
67+
run: |
68+
echo "Current HEAD: $(git rev-parse HEAD)"
69+
70+
5971
- name: Build reqflowcli from source
6072
run: |
6173
cargo build --release

0 commit comments

Comments
 (0)