summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-10-09 21:24:26 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2025-10-09 21:24:27 -0700
commita5def9999c4caa19a54c143ff3be772a40d0448e (patch)
tree74f3e68510824da3f30a4518c62cafafcac257cc /.github
parentc37d4068834e7231e8a17046aa7010b77449b6ad (diff)
sync_default_gems.yml: Experiment with fetch-depth: 1
At the moment, we're not sure which gem relies on past renames. So we try this, and revert it if it turns out to be necessary. Given that it slows down every single sync, however, I'm thinking of making tool/sync_default_gems.rb responsible for implementing all necessary renames on cherry-picks using filter-branch (or any modification on commits before pushing them).
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/sync_default_gems.yml4
1 files changed, 0 insertions, 4 deletions
diff --git a/.github/workflows/sync_default_gems.yml b/.github/workflows/sync_default_gems.yml
index 3912f567e3..3a811be18a 100644
--- a/.github/workflows/sync_default_gems.yml
+++ b/.github/workflows/sync_default_gems.yml
@@ -30,12 +30,8 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
name: Check out ruby/ruby
with:
- 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
- run: git config merge.renameLimit 999999
-
- name: Run tool/sync_default_gems.rb
id: sync
run: |