1
0
mirror of synced 2026-01-08 12:01:53 -05:00

Fetch more in actions/checkout for finding changed files (#51392)

This commit is contained in:
Peter Bengtsson
2024-06-25 13:02:24 -04:00
committed by GitHub
parent 0ceeaefd82
commit 1318dcfdfa

View File

@@ -30,6 +30,12 @@ jobs:
steps:
- name: Check out repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# 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: Get changed files
id: changed-files