1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-23 21:09:54 +02:00

Add option to fetch tags even if fetch-depth > 0 (#579)

* Add option to fetch tags even if fetch-depth > 0

* Add jest tests for fetchDepth and fetchTags options
This commit is contained in:
Robert Wieczoreck 2023-08-16 22:34:54 +02:00 committed by GitHub
parent 96f53100ba
commit 7739b9ba2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 214 additions and 8 deletions

View file

@ -87,6 +87,10 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
# Default: 1
fetch-depth: ''
# Whether to fetch tags, even if fetch-depth > 0.
# Default: false
fetch-tags: ''
# Whether to download Git-LFS files
# Default: false
lfs: ''