Skip to content

Commit 38cfd29

Browse files
committed
Trust CI checkout before fetching diagnostic source
1 parent ffe30f0 commit 38cfd29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/contracts-record.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
- name: Isolate the generation fix on the older source
5959
if: env.DIAGNOSTIC_GENERATION_FIX == 'true'
6060
run: |
61+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
6162
test "$TRANSFORMERS_SHA" = 11c4611c0f9826e452d5cdaae9afdd22cc5d5fe5
6263
git fetch --depth 1 origin 1111c102092739070a59f8eb41f8008fc9709213
6364
git show 1111c102092739070a59f8eb41f8008fc9709213:src/transformers/configuration_utils.py > src/transformers/configuration_utils.py

0 commit comments

Comments
 (0)