File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 || ''
6767 }}
6868
69- - name : ' Downgrade Git'
70- # Temporarily downgrade to 2.43 until 2.55 is in the runner image,
71- # to avoid "fatal: shallow file has changed since we read it" bug.
72- # See https://github.com/python/cpython/issues/151365.
73- if : github.event_name == 'pull_request'
74- run : |
75- sudo apt-get install -y --allow-downgrades 'git=1:2.43.*' 'git-man=1:2.43.*'
76- git --version
77-
7869 # Adapted from https://github.com/actions/checkout/issues/520#issuecomment-1167205721
7970 - name : Fetch commits to get branch diff
8071 if : github.event_name == 'pull_request'
Original file line number Diff line number Diff line change 3333 && github.event.pull_request.head.sha
3434 || ''
3535 }}
36- - name : ' Downgrade Git'
37- # Temporarily downgrade to 2.43 until 2.55 is in the runner image,
38- # to avoid "fatal: shallow file has changed since we read it" bug.
39- # See https://github.com/python/cpython/issues/151365.
40- if : github.event_name == 'pull_request'
41- run : |
42- sudo apt-get install -y --allow-downgrades 'git=1:2.43.*' 'git-man=1:2.43.*'
43- git --version
4436 # Adapted from https://github.com/actions/checkout/issues/520#issuecomment-1167205721
4537 - name : ' Fetch commits to get branch diff'
4638 if : github.event_name == 'pull_request'
You can’t perform that action at this time.
0 commit comments