Skip to content

Commit fdf79ff

Browse files
authored
chore: optimize GitHub workflow triggers (#99)
1 parent 7aa9aed commit fdf79ff

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

.github/workflows/lint.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,21 @@ name: Lint
22

33
on:
44
push:
5+
branches:
6+
- main
7+
- release/**
8+
paths-ignore:
9+
- "*.md"
10+
- "charts/**"
11+
- "config/**"
512
pull_request:
13+
branches:
14+
- main
15+
- release/**
16+
paths-ignore:
17+
- "*.md"
18+
- "charts/**"
19+
- "config/**"
620

721
jobs:
822
lint:

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
- release/**
8+
paths-ignore:
9+
- "*.md"
10+
- "charts/**"
11+
- "config/**"
712
workflow_dispatch:
813

914
jobs:

.github/workflows/test-e2e.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: E2E Tests
22

33
on:
44
workflow_dispatch:
5-
# push:
6-
# pull_request:
75

86
jobs:
97
test-e2e:

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,21 @@ name: Tests
22

33
on:
44
push:
5+
branches:
6+
- main
7+
- release/**
8+
paths-ignore:
9+
- "*.md"
10+
- "charts/**"
11+
- "config/**"
512
pull_request:
13+
branches:
14+
- main
15+
- release/**
16+
paths-ignore:
17+
- "*.md"
18+
- "charts/**"
19+
- "config/**"
620

721
jobs:
822
test:

0 commit comments

Comments
 (0)