1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Allow tj-actions/changed-files to fetch default of 50 (#42874)

This commit is contained in:
Peter Bengtsson
2023-09-20 10:19:21 -04:00
committed by GitHub
parent 7b9b78da95
commit 1284c0592f

View File

@@ -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/**