Allow tj-actions/changed-files to fetch default of 50 (#42874)
This commit is contained in:
8
.github/workflows/content-lint-markdown.yml
vendored
8
.github/workflows/content-lint-markdown.yml
vendored
@@ -19,8 +19,11 @@ jobs:
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
with:
|
||||
# Needed to detect changed files
|
||||
fetch-depth: 2
|
||||
# Picking this number is a "best guess". If we make it too large,
|
||||
# the checkout will take potentially unnecessariily long.
|
||||
# This reduces the chance that tj-actions/changed-files has to
|
||||
# fetch deeper history. But if it needs to, it will.
|
||||
fetch-depth: 10
|
||||
|
||||
- name: Set up Node and dependencies
|
||||
uses: ./.github/actions/node-npm-setup
|
||||
@@ -29,7 +32,6 @@ jobs:
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@246636f5fa148b5ad8e65ca4c57b18af3123e5f6 # v39.0.1
|
||||
with:
|
||||
fetch_depth: 2
|
||||
files: |
|
||||
content/**
|
||||
data/**
|
||||
|
||||
Reference in New Issue
Block a user