Skip to content

Commit 9c25f6b

Browse files
committed
fix(ci): scope metamcp e2e workflow
1 parent 964ec24 commit 9c25f6b

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/metamcp-e2e.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,29 @@ name: metamcp e2e
22

33
on:
44
pull_request:
5+
paths:
6+
- .github/workflows/metamcp-e2e.yaml
7+
- charts/metamcp/**
58
push:
69
branches: [ main ]
10+
paths:
11+
- .github/workflows/metamcp-e2e.yaml
12+
- charts/metamcp/**
13+
14+
concurrency:
15+
group: metamcp-e2e-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: true
717

818
jobs:
919
e2e:
1020
runs-on: ubuntu-latest
21+
timeout-minutes: 20
1122
steps:
1223
- uses: actions/checkout@v6
13-
- name: Setup kubectl
14-
uses: azure/setup-kubectl@v4
15-
with:
16-
version: latest
1724
- name: Setup Helm
18-
uses: azure/setup-helm@v4
19-
with:
20-
version: latest
25+
uses: azure/setup-helm@v4.3.1
2126
- name: Setup kind
22-
uses: helm/kind-action@v1
27+
uses: helm/kind-action@v1.14.0
2328
with:
2429
version: v0.24.0
2530
kubectl_version: v1.30.0

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
if [ -d ".cr-release-packages" ]; then
9696
shopt -s nullglob
9797
for pkg in .cr-release-packages/*.tgz; do
98-
helm push "${pkg}" oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts
98+
helm push "${pkg}" "oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts"
9999
done
100100
else
101101
echo "Directory .cr-release-packages does not exist."

0 commit comments

Comments
 (0)