Skip to content

Commit 84832e6

Browse files
committed
Run pipeline only for created release event specifically
1 parent 2279576 commit 84832e6

File tree

3 files changed

+2
-30
lines changed

3 files changed

+2
-30
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
name: 'CI'
22
on:
3-
push:
4-
tags:
5-
- 'v*'
6-
branches:
7-
- main
8-
pull_request:
9-
branches:
10-
- main
11-
tags:
12-
- 'v*'
3+
release:
4+
types: [created]
135

146
jobs:
157
release:

.github/workflows/python-publish.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@ name: Upload Python Package
66
on:
77
release:
88
types: [created]
9-
push:
10-
branches:
11-
- main
12-
tags:
13-
- 'v*'
14-
pull_request:
15-
branches:
16-
- main
17-
tags:
18-
- 'v*'
199

2010
jobs:
2111
deploy:

.github/workflows/python-test-publish.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@ on:
88
# but only for the main branch
99
release:
1010
types: [created]
11-
push:
12-
branches:
13-
- main
14-
tags:
15-
- 'v*'
16-
pull_request:
17-
branches:
18-
- main
19-
tags:
20-
- 'v*'
2111

2212
jobs:
2313
deploy:

0 commit comments

Comments
 (0)