1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-07-17 15:12:41 +00:00
This commit is contained in:
parker-michel-vanta 2025-07-16 10:37:01 -04:00
parent 220570c515
commit 2449f8bb0b
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ export interface IGitSourceSettings {
*/ */
shallowSince: string shallowSince: string
/** /**
* Fetch tags, even if fetchDepth > 0 (default: false) * Fetch tags, even if fetchDepth > 0 (default: false)
*/ */
fetchTags: boolean fetchTags: boolean

View file

@ -116,7 +116,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
} }
result.shallowSince = core.getInput('shallow-since') result.shallowSince = core.getInput('shallow-since')
core.debug(`shallow since = ${result.shallowSince}`) core.debug(`shallow since = ${result.shallowSince}`)
// Fetch tags // Fetch tags
result.fetchTags = result.fetchTags =
(core.getInput('fetch-tags') || 'false').toUpperCase() === 'TRUE' (core.getInput('fetch-tags') || 'false').toUpperCase() === 'TRUE'