File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,14 +15,15 @@ jobs:
1515 - name : Fetch LLVM sources
1616 uses : actions/checkout@v4
1717 with :
18- fetch-depth : 2
18+ repository : ${{ github.event.pull_request.head.repo.full_name }}
19+ fetch-depth : 0 # Fetch all history
1920
2021 - name : Get changed files
2122 id : changed-files
2223 uses : tj-actions/changed-files@v41
2324 with :
2425 separator : " ,"
25- fetch_depth : 100 # Fetches only the last 10 commits
26+ fetch_depth : 100 # Fetches only the last 100 commits
2627
2728 - name : " Listed files"
2829 env :
8889 - name : Fetch LLVM sources
8990 uses : actions/checkout@v4
9091 with :
91- fetch-depth : 2
92+ repository : ${{ github.event.pull_request.head.repo.full_name }}
93+ fetch-depth : 0 # Fetch all history
9294 path : build/main_src
9395
9496 - name : Setup Python env
@@ -115,7 +117,7 @@ jobs:
115117 - name : Fetch LLVM sources for head
116118 uses : actions/checkout@v4
117119 with :
118- fetch-depth : 2
120+ fetch-depth : 0 # Fetch all history
119121 ref : ${{ fromJSON(steps.get-pr.outputs.result).head.ref }}
120122 repository : ${{ fromJSON(steps.get-pr.outputs.result).head.repo.full_name }}
121123
You can’t perform that action at this time.
0 commit comments