Skip to content

Commit ba0d696

Browse files
committed
ci: run tests on master branches only
1 parent fe3c276 commit ba0d696

File tree

6 files changed

+26
-7
lines changed

6 files changed

+26
-7
lines changed

.github/workflows/coverage.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: code coverage
33
on:
44
push:
55
branches:
6-
- '**'
6+
- master
7+
pull_request_target:
8+
branches:
9+
- master
10+
711
jobs:
812
coverage:
913
runs-on: ${{ matrix.os }}

.github/workflows/e2e.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: e2e test
33
on:
44
push:
55
branches:
6-
- '**'
6+
- master
7+
pull_request_target:
8+
branches:
9+
- master
10+
711
jobs:
812
test:
913
runs-on: ${{ matrix.os }}

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- v*
7+
78
jobs:
89
release:
910
environment: release

.github/workflows/style.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: code style
33
on:
44
push:
55
branches:
6-
- '**'
6+
- master
7+
pull_request_target:
8+
branches:
9+
- master
10+
711
jobs:
812
style:
913
runs-on: ${{ matrix.os }}

.github/workflows/test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: code test
33
on:
44
push:
55
branches:
6-
- '**'
6+
- master
7+
pull_request_target:
8+
branches:
9+
- master
10+
711
jobs:
812
test:
913
runs-on: ${{ matrix.os }}

.github/workflows/vulnerability.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: 'vulnerability test'
22

33
on:
44
push:
5-
branches: [master]
6-
pull_request:
7-
branches: [master]
5+
branches:
6+
- master
7+
pull_request_target:
8+
branches:
9+
- master
810
schedule:
911
- cron: '0 0 * * 0'
1012

0 commit comments

Comments
 (0)