Skip to content

Commit be76a6a

Browse files
Okinea DevPKief
authored andcommitted
ci: ♻️ use a limited range of files for checkout (#2789)
1 parent 14bb578 commit be76a6a

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

.github/workflows/color-check.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
persist-credentials: false
23+
sparse-checkout-cone-mode: false
24+
sparse-checkout: |
25+
.github/actions/update-status-label.sh
26+
material-colors.yml
27+
icons/
2328
2429
- name: 🔄 Fetch target branch
2530
run: |

.github/workflows/icon-review.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,20 @@ jobs:
2727
fetch-depth: 0
2828
path: fork
2929
persist-credentials: false
30+
sparse-checkout-cone-mode: false
31+
sparse-checkout: |
32+
icons/
3033
3134
- name: 📥 Checkout Original
3235
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3336
with:
3437
fetch-depth: 0
3538
path: main
3639
persist-credentials: false
40+
sparse-checkout-cone-mode: false
41+
sparse-checkout: |
42+
.bun-version
43+
icons/
3744
3845
- name: 🔧 Setup Bun
3946
uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2

.github/workflows/potential-duplicates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
filter: ''
1616
# Exclude keywords in title before detecting.
1717
exclude: ''
18-
# Label to set, when potential duplicates are detected.
19-
label: "🧐 potential-duplicate"
18+
# Label to set, when potential duplicates are detected.
19+
label: "🧐 potential-duplicate"
2020
# Get issues with state to compare. Supported state: 'all', 'closed', 'open'.
2121
state: all
2222
# If similarity is higher than this threshold([0,1]), issue will be marked as duplicate.

.github/workflows/pr-title.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020
with:
2121
# Only fetch the config file from the repository
22+
sparse-checkout-cone-mode: false
2223
sparse-checkout: |
2324
commitlint.config.js
2425
.github/actions/update-status-label.sh

0 commit comments

Comments
 (0)