Skip to content

Commit 0276805

Browse files
authored
chore: update inputs.ts adding comment about fetch_depth (#2000)
1 parent 427adf4 commit 0276805

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

dist/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/inputs.ts

+1
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ export const getInputs = (): Inputs => {
297297
}
298298

299299
if (fetchDepth) {
300+
// Fallback to at least 2 if the fetch_depth is less than 2
300301
inputs.fetchDepth = Math.max(parseInt(fetchDepth, 10), 2)
301302
}
302303

0 commit comments

Comments
 (0)