Skip to content

Commit 841d0d3

Browse files
authored
Merge pull request #8 from lablabs/feat/template-sync
ci(sync): remove template-sync workflow
2 parents 6fb115c + 2cbaaa0 commit 841d0d3

12 files changed

Lines changed: 45 additions & 153 deletions

.github/workflows/cache-warmup.yaml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Cache Warmup
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main # caches from the main branch are shared with all other branches and pull requests
@@ -9,44 +10,25 @@ permissions:
910
contents: read
1011

1112
env:
12-
# renovate: datasource=github-releases depName=asdf-vm/asdf
13-
ASDF_VERSION: 0.18.0
13+
# renovate: datasource=github-releases depName=jdx/mise
14+
MISE_VERSION: 2026.5.12
1415

1516
jobs:
1617
pre-commit:
1718
runs-on: ubuntu-24.04
1819
steps:
1920
- name: Checkout
20-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2122
with:
2223
persist-credentials: false
2324

24-
- name: Setup ASDF
25-
uses: asdf-vm/actions/setup@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0
25+
- name: Setup Mise
26+
uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
2627
with:
27-
asdf_version: ${{ env.ASDF_VERSION }}
28-
29-
- name: Cache ASDF
30-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
31-
id: asdf-cache
32-
with:
33-
# https://github.com/asdf-vm/asdf/blob/master/.gitignore
34-
path: |
35-
~/.asdf/installs
36-
~/.asdf/plugins
37-
~/.asdf/shims
38-
~/.cache/pip
39-
key: ${{ runner.os }}-asdf-${{ hashFiles('.tool-versions') }}-warmup
40-
restore-keys: ${{ runner.os }}-asdf-
41-
42-
- name: Install ASDF
43-
uses: asdf-vm/actions/install@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0
44-
if: ${{ steps.asdf-cache.outputs.cache-hit != 'true' }}
45-
with:
46-
asdf_version: ${{ env.ASDF_VERSION }}
28+
version: ${{ env.MISE_VERSION }}
4729

4830
- name: Cache pre-commit
49-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
31+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
5032
with:
5133
path: ~/.cache/pre-commit
5234
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}-warmup

.github/workflows/cleanup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
chart: ${{ fromJSON(needs.metadata-collector.outputs.charts) }}
2525
steps:
2626
- name: GitHub Slug Action
27-
uses: rlespinasse/github-slug-action@955b5ba4560860f8a633bd24190941f16016e42c # v5.1.0
27+
uses: rlespinasse/github-slug-action@e6f261660910b273384c5c42b17a0217881b217a # v5.6.0
2828

2929
- name: Cleanup Helm chart
3030
run: |

.github/workflows/metadata-collector.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
charts: ${{ steps.changed-charts.outputs.all_changed_files || steps.changed-charts-tag.outputs.all_changed_files }}
1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # pragma: allowlist secret
20+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 # pragma: allowlist secret
2121
with:
2222
persist-credentials: true # needed for private repositories
2323

2424
- name: Get changed charts without tag
25-
uses: step-security/changed-files@95b56dadb92a30ca9036f16423fd3c088a71ee94 # v46.0.5
25+
uses: step-security/changed-files@2e07db73e5ccdb319b9a6c7766bd46d39d304bad # v47.0.5
2626
id: changed-charts
2727
if: github.ref_type != 'tag'
2828
with:

.github/workflows/pull-request.yaml

Lines changed: 21 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ concurrency:
1616
cancel-in-progress: false
1717

1818
env:
19-
# renovate: datasource=github-releases depName=asdf-vm/asdf
20-
ASDF_VERSION: 0.18.0
19+
# renovate: datasource=github-releases depName=jdx/mise
20+
MISE_VERSION: 2026.5.12
2121
# renovate: datasource=github-releases depName=helm/helm
22-
HELM_VERSION: v3.18.6
22+
HELM_VERSION: v3.21.0
2323
# renovate: datasource=github-tags depName=python/cpython
24-
PYTHON_VERSION: v3.13.7
24+
PYTHON_VERSION: v3.14.5
2525
# renovate: datasource=github-releases depName=helm/chart-testing-action
2626
CHART_TESTING_VERSION: v3.13.0
2727
# renovate: datasource=github-releases depName=adrienverge/yamllint
28-
CHART_TESTING_YAMLLINT_VERSION: v1.37.1
28+
CHART_TESTING_YAMLLINT_VERSION: v1.38.0
2929
# renovate: datasource=github-releases depName=23andMe/Yamale
30-
CHART_TESTING_YAMALE_VERSION: 6.0.0
30+
CHART_TESTING_YAMALE_VERSION: 6.1.0
3131

3232
jobs:
3333
metadata-collector:
@@ -40,40 +40,17 @@ jobs:
4040
runs-on: ubuntu-24.04
4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4444
with:
4545
persist-credentials: false
4646

47-
- name: Setup ASDF
48-
uses: asdf-vm/actions/setup@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0
47+
- name: Setup Mise
48+
uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
4949
with:
50-
asdf_version: ${{ env.ASDF_VERSION }}
51-
52-
- name: Cache ASDF
53-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
54-
id: asdf-cache
55-
with:
56-
# https://github.com/asdf-vm/asdf/blob/master/.gitignore
57-
path: |
58-
~/.asdf/installs
59-
~/.asdf/plugins
60-
~/.asdf/shims
61-
~/.cache/pip
62-
key: ${{ runner.os }}-asdf-${{ hashFiles('.tool-versions') }}
63-
restore-keys: ${{ runner.os }}-asdf-${{ hashFiles('.tool-versions') }}-
64-
65-
- name: Install ASDF
66-
uses: asdf-vm/actions/install@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0
67-
if: ${{ steps.asdf-cache.outputs.cache-hit != 'true' }}
68-
with:
69-
asdf_version: ${{ env.ASDF_VERSION }}
70-
71-
- name: Reshim installed ASDF tools
72-
shell: bash
73-
run: asdf reshim
50+
version: ${{ env.MISE_VERSION }}
7451

7552
- name: Cache pre-commit
76-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
53+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
7754
with:
7855
path: ~/.cache/pre-commit
7956
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
@@ -88,11 +65,11 @@ jobs:
8865
artifacthub-lint:
8966
runs-on: ubuntu-24.04
9067
container:
91-
image: docker.io/artifacthub/ah:v1.21.0 # referencing version via env variable not supported in GHA
68+
image: docker.io/artifacthub/ah:v1.22.0 # referencing version via env variable not supported in GHA
9269
options: --user=root
9370
steps:
9471
- name: Checkout code
95-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9673
with:
9774
persist-credentials: false
9875

@@ -109,21 +86,21 @@ jobs:
10986
chart: ${{ fromJSON(needs.metadata-collector.outputs.charts) }}
11087
steps:
11188
- name: Checkout
112-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
89+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
11390
with:
11491
persist-credentials: false
11592

11693
- name: Set up Helm
117-
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
94+
uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
11895
with:
11996
version: ${{ env.HELM_VERSION }}
12097

121-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
98+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
12299
with:
123100
python-version: ${{ env.PYTHON_VERSION }}
124101

125102
- name: Set up chart-testing
126-
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
103+
uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0
127104
with:
128105
version: ${{ env.CHART_TESTING_VERSION }}
129106
yamllint_version: ${{ env.CHART_TESTING_YAMLLINT_VERSION }}
@@ -150,7 +127,7 @@ jobs:
150127

151128
- name: Create kind cluster
152129
if: ${{ steps.chart-type.outputs.type == 'application' }} # Only run installation tests for application charts, skip library charts
153-
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
130+
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
154131

155132
# FIXME config: Place custom steps to install CRDs or other dependencies here
156133

@@ -173,17 +150,17 @@ jobs:
173150
chart: ${{ fromJSON(needs.metadata-collector.outputs.charts) }}
174151
steps:
175152
- name: Checkout
176-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
153+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
177154
with:
178155
persist-credentials: false
179156

180157
- name: Set up Helm
181-
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
158+
uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
182159
with:
183160
version: ${{ env.HELM_VERSION }}
184161

185162
- name: GitHub Slug Action
186-
uses: rlespinasse/github-slug-action@955b5ba4560860f8a633bd24190941f16016e42c # v5.1.0
163+
uses: rlespinasse/github-slug-action@e6f261660910b273384c5c42b17a0217881b217a # v5.6.0
187164

188165
- name: Build Helm dependencies
189166
# Build Helm chart dependencies locally to support both chart-testing lint and install operations.

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
env:
1313
# renovate: datasource=github-releases depName=helm/helm
14-
HELM_VERSION: v3.18.6
14+
HELM_VERSION: v3.21.0
1515

1616
jobs:
1717
metadata-collector:
@@ -32,17 +32,17 @@ jobs:
3232
chart: ${{ fromJSON(needs.metadata-collector.outputs.charts) }}
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3636
with:
3737
persist-credentials: false
3838

3939
- name: Set up Helm
40-
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
40+
uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
4141
with:
4242
version: ${{ env.HELM_VERSION }}
4343

4444
- name: Set up ORAS
45-
uses: oras-project/setup-oras@22ce207df3b08e061f537244349aac6ae1d214f6 # v1.2.4
45+
uses: oras-project/setup-oras@38de303aac69abb66f3e6255b7198bff35f323e3 # v2.0.0
4646

4747
- name: Build Helm dependencies
4848
run: scripts/helm-dependency-build.sh $CHART_NAME

.github/workflows/template-sync.yaml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/version-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
chart: ${{ fromJSON(needs.metadata-collector.outputs.charts) }}
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
persist-credentials: true # needed for private repositories
2525

2626
- name: Set up ORAS
27-
uses: oras-project/setup-oras@22ce207df3b08e061f537244349aac6ae1d214f6 # v1.2.4
27+
uses: oras-project/setup-oras@38de303aac69abb66f3e6255b7198bff35f323e3 # v2.0.0
2828

2929
- name: Check if chart version exists
3030
run: |

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
33
# renovate: datasource=github-tags depName=pre-commit/pre-commit-hooks
4-
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0 # pragma: allowlist secret
4+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0 # pragma: allowlist secret
55
hooks:
66
- id: trailing-whitespace
77
args: ["--markdown-linebreak-ext=md"]
@@ -40,6 +40,6 @@ repos:
4040

4141
- repo: https://github.com/zizmorcore/zizmor-pre-commit
4242
# renovate: datasource=github-releases depName=zizmorcore/zizmor-pre-commit
43-
rev: 69fa534d69454f44ddd4451b5e2da7a1c48e525b # v1.11.0 # pragma: allowlist secret
43+
rev: 9257c6050c0261b8c57e712f632dc4a8010109a9 # v1.25.2 # pragma: allowlist secret
4444
hooks:
4545
- id: zizmor

.templatesyncignore.local

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# This file prevents overriding files that are specific to individual templated addons.

.tool-versions

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
python 3.13.7
2-
pre-commit 4.2.0
3-
helm 3.18.2
1+
python 3.14.5
2+
pre-commit 4.6.0
3+
helm 3.21.0
44
helm-docs 1.14.2

0 commit comments

Comments
 (0)