We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b9b78d commit 1284c05Copy full SHA for 1284c05
.github/workflows/content-lint-markdown.yml
@@ -19,8 +19,11 @@ jobs:
19
- name: Check out repo
20
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
21
with:
22
- # Needed to detect changed files
23
- fetch-depth: 2
+ # Picking this number is a "best guess". If we make it too large,
+ # the checkout will take potentially unnecessariily long.
24
+ # This reduces the chance that tj-actions/changed-files has to
25
+ # fetch deeper history. But if it needs to, it will.
26
+ fetch-depth: 10
27
28
- name: Set up Node and dependencies
29
uses: ./.github/actions/node-npm-setup
@@ -29,7 +32,6 @@ jobs:
32
id: changed-files
30
33
uses: tj-actions/changed-files@246636f5fa148b5ad8e65ca4c57b18af3123e5f6 # v39.0.1
31
34
- fetch_depth: 2
35
files: |
36
content/**
37
data/**
0 commit comments