Skip to content

Commit c9decd8

Browse files
committed
[ci] itai review fixes
Signed-off-by: Oriol Muñoz <oriol.munoz@digitalasset.com>
1 parent a500bc5 commit c9decd8

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/build.ts_cli_tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,18 @@ jobs:
2020
# Checkout the PR head commit to get the commit message first
2121
ref: ${{ github.event.pull_request.head.sha }}
2222

23-
- name: Check out repository code
24-
uses: actions/checkout@v4
25-
with:
26-
ref: ${{ inputs.commit_sha }}
27-
2823
- name: Check if static only
2924
uses: ./.github/actions/tests/skip_on_static
3025
id: skip
3126
with:
3227
gh_token: ${{ secrets.GITHUB_TOKEN }}
3328

29+
- name: Check out repository code
30+
uses: actions/checkout@v4
31+
if: inputs.commit_sha != ''
32+
with:
33+
ref: ${{ inputs.commit_sha }}
34+
3435
- name: Setup
3536
id: setup
3637
if: steps.skip.outputs.skip != 'true'

.github/workflows/build.ui_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828

2929
- name: Check out repository code
3030
uses: actions/checkout@v4
31+
if: inputs.commit_sha != ''
3132
with:
3233
ref: ${{ inputs.commit_sha }}
3334

0 commit comments

Comments
 (0)