Skip to content

Commit 22cbe6d

Browse files
committed
use github.repository for checkout
1 parent 21a5182 commit 22cbe6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/java-eks-otlp-ocb-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ jobs:
7777
7878
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #5.0.0
7979
with:
80-
# Use the current repository (allows testing from forks)
81-
ref: ${{ env.CALLER_WORKFLOW_NAME == 'main-build' && 'main' || github.ref }}
80+
repository: ${{ github.repository }}
81+
ref: ${{ github.ref }}
8282
fetch-depth: 0
8383

8484
# We initialize Gradlew Daemon early on during the workflow because sometimes initialization

0 commit comments

Comments
 (0)