Skip to content

Commit d22b262

Browse files
committed
uv-prep action: add fetch-depth input variable
1 parent 41aa440 commit d22b262

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

gh-actions/uv-prep/action.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@ name: "uv prep"
22

33
inputs:
44
python-version-file:
5-
required: false
65
type: string
6+
required: false
77
default: pyproject.toml
8+
fetch-depth:
9+
type: number
10+
required: false
11+
default: 1
812

913
runs:
1014
using: composite
1115
steps:
1216
- name: Checkout Code
1317
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: ${{ inputs.fetch-depth }}
1420

1521
- name: Mark repo as safe for Git
1622
shell: bash

0 commit comments

Comments
 (0)