summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-10-06 14:01:25 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2025-10-06 14:01:25 -0700
commit7f6e9a0b1beec5d6d50d50a15b95e2360e2ce493 (patch)
tree0ee14e727365524aa257fb3a32b164defb389c22
parent57ea1c0be116db77834b9bd9850f3ee81d495247 (diff)
sync_default_gems.yml: Avoid fetching tags/branches
-rw-r--r--.github/workflows/sync_default_gems.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/sync_default_gems.yml b/.github/workflows/sync_default_gems.yml
index d3aab34edb..7528576eaf 100644
--- a/.github/workflows/sync_default_gems.yml
+++ b/.github/workflows/sync_default_gems.yml
@@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
name: Check out ruby/ruby
with:
- fetch-depth: 0 # Fetch all history to recognize past renames
+ fetch-depth: 999999 # Fetch all history to follow past renames. Not using 0 to avoid fetching tags/branches.
token: ${{ github.repository == 'ruby/ruby' && secrets.MATZBOT_AUTO_UPDATE_TOKEN || secrets.GITHUB_TOKEN }}
- name: Increase rename limit