From 656b4ef8263848a38ec468288a4192bae917f502 Mon Sep 17 00:00:00 2001 From: Robert Wieczoreck <1175008+RobertWieczoreck@users.noreply.github.com> Date: Wed, 16 Aug 2023 22:34:54 +0200 Subject: 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 --- action.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'action.yml') diff --git a/action.yml b/action.yml index e562b56..58f07d7 100644 --- a/action.yml +++ b/action.yml @@ -65,6 +65,9 @@ inputs: fetch-depth: description: 'Number of commits to fetch. 0 indicates all history for all branches and tags.' default: 1 + fetch-tags: + description: 'Whether to fetch tags, even if fetch-depth > 0.' + default: false lfs: description: 'Whether to download Git-LFS files' default: false -- cgit v1.2.3