Skip to content

Commit 9d05fd2

Browse files
committed
Fix checkout ref
1 parent 0d52f66 commit 9d05fd2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/cli-oidc-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
steps:
2727
- name: Checkout Repository
2828
uses: actions/checkout@v4
29+
with:
30+
ref: ${{ github.event.pull_request.head.sha }}
2931

3032
- name: Setup JFrog CLI
3133
id: setup-jfrog-cli

.github/workflows/manual-oidc-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
steps:
2929
- name: Checkout Repository
3030
uses: actions/checkout@v4
31+
with:
32+
ref: ${{ github.event.pull_request.head.sha }}
3133

3234
# Generating a unique name for the Integration Configuration that will be created in the following step
3335
- name: Generate unique OIDC config name

0 commit comments

Comments
 (0)