Skip to content

Commit bd02816

Browse files
authored
[workflow] Tweak code formatting workflow to be faster
This should limit how many commits we need to fetch and should be faster.
1 parent 36bd5bd commit bd02816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-code-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
- name: Fetch LLVM sources
1111
uses: actions/checkout@v4
1212
with:
13-
persist-credentials: false
1413
fetch-depth: 2
1514

1615
- name: Get changed files
1716
id: changed-files
1817
uses: tj-actions/changed-files@v39
1918
with:
2019
separator: ","
20+
fetch_depth: 10 # Fetches only the last 10 commits
2121

2222
- name: "Listed files"
2323
run: |

0 commit comments

Comments
 (0)