[workflow] Tweak code formatting workflow to be faster

This should limit how many commits we need to fetch and should be faster.
This commit is contained in:
Tobias Hieta 2023-09-22 17:18:23 +02:00 committed by GitHub
parent 36bd5bd888
commit bd0281669e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,6 @@ jobs:
- name: Fetch LLVM sources
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 2
- name: Get changed files
@ -18,6 +17,7 @@ jobs:
uses: tj-actions/changed-files@v39
with:
separator: ","
fetch_depth: 10 # Fetches only the last 10 commits
- name: "Listed files"
run: |