Skip to content

Commit ba73967

Browse files
author
Evert
committed
Allow empty git ref for checkout
1 parent a965f4e commit ba73967

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.github/workflows/coverage.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
git_ref:
66
type: string
77
description: Git ref of the DuckDB python package
8-
default: refs/heads/main
9-
required: true
8+
required: false
109
duckdb_git_ref:
1110
type: string
1211
description: Git ref of DuckDB
12+
required: false
1313
testsuite:
1414
type: choice
1515
description: Testsuite to run ('all' or 'fast')
@@ -23,9 +23,10 @@ on:
2323
git_ref:
2424
type: string
2525
description: Git ref of the DuckDB python package
26-
required: true
26+
required: false
2727
duckdb_git_ref:
2828
type: string
29+
required: false
2930
testsuite:
3031
type: string
3132
description: Testsuite to run ('all' or 'fast')

.github/workflows/on_pr.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ jobs:
2828
with:
2929
minimal: true
3030
testsuite: all
31-
git_ref: ${{ github.head_ref }}
3231
duckdb_git_ref: ${{ github.base_ref }}
3332

3433
coverage_test:
3534
name: Run coverage tests
3635
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
3736
uses: ./.github/workflows/coverage.yml
3837
with:
39-
git_ref: ${{ github.head_ref }}
4038
duckdb_git_ref: ${{ github.base_ref }}
4139
testsuite: all

.github/workflows/pypi_packaging.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ on:
1919
git_ref:
2020
type: string
2121
description: Git ref of the DuckDB python package
22-
required: true
23-
default: refs/heads/main
22+
required: false
2423
duckdb_git_ref:
2524
type: string
2625
description: Git ref of DuckDB
@@ -44,11 +43,11 @@ on:
4443
git_ref:
4544
type: string
4645
description: Git ref of the DuckDB python package
47-
required: true
46+
required: false
4847
duckdb_git_ref:
4948
type: string
5049
description: Git ref of DuckDB
51-
required: true
50+
required: false
5251
force_version:
5352
description: Force version (vX.Y.Z-((rc|post)N))
5453
required: false

0 commit comments

Comments
 (0)