File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -36,21 +36,19 @@ jobs:
3636 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3737 name : Check out ruby/ruby
3838 with :
39+ fetch-depth : 0 # Fetch all history to recognize past renames
3940 token : ${{ github.repository == 'ruby/ruby' && secrets.MATZBOT_AUTO_UPDATE_TOKEN || secrets.GITHUB_TOKEN }}
4041
42+ - name : Increase rename limit
43+ run : git config merge.renameLimit 999999
44+
4145 - name : Run tool/sync_default_gems.rb
4246 run : ruby tool/sync_default_gems.rb "${gem_name}" "${gem_before}..${gem_after}"
4347 env :
4448 gem_name : ${{ github.event.client_payload.gem || github.event.inputs.gem }}
4549 gem_before : ${{ github.event.client_payload.before || github.event.inputs.before }}
4650 gem_after : ${{ github.event.client_payload.after || github.event.inputs.after }}
4751
48- - name : Check diffs
49- id : diff
50- run : |
51- git diff --color --no-ext-diff --ignore-submodules --exit-code ||
52- echo update=true >> $GITHUB_OUTPUT
53-
5452 - name : Push
5553 run : |
5654 git pull --ff-only origin ${GITHUB_REF#refs/heads/}
59576058 GIT_AUTHOR_NAME : git
6159 GIT_COMMITTER_NAME : git
62- if : ${{ steps.diff.outputs.update }}
6360
6461 - uses : ./.github/actions/slack
6562 with :
You can’t perform that action at this time.
0 commit comments