Skip to content

Commit 1efaed7

Browse files
authored
Update action.yml
1 parent 9c3e64f commit 1efaed7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ inputs:
1919
description: 'Branch for the workflow to look for.'
2020
default: ${{ github.head_ref || github.ref_name }}
2121
required: false
22+
fetch-depth:
23+
description: 'Number of commits to fetch. 0 indicates all history for all branches and tags.'
24+
default: 1
2225
verify:
2326
description: 'Verify SHA of workflow run commit against list of commit SHAs in repository. Add verify if workflow is expected to contain commits that no longer exist (rebased commit history)'
2427
required: false
@@ -41,6 +44,7 @@ runs:
4144
with:
4245
clean: ${{ inputs.clean }}
4346
path: ${{ inputs.relative_checkout_directory }}
47+
fetch-depth: ${{ inputs.fetch-depth }}
4448
- id: lastrun
4549
name: Get latest successful sha
4650
uses: VeoVirt/last-successful-build-action@v7

0 commit comments

Comments
 (0)