Skip to content

Commit 8b23abe

Browse files
Chore: Update release workflow triggers (#187)
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
1 parent b18cb30 commit 8b23abe

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ name: "🐍📦 Old Production build and release"
88
on:
99
push:
1010
# Only invoked on release tag pushes
11-
branches:
12-
- 'main'
13-
- 'master'
1411
tags:
1512
- 'v*.*.*'
1613

@@ -24,7 +21,7 @@ jobs:
2421
build:
2522
name: "🐍 Build packages"
2623
# Only publish on tag pushes
27-
# if: startsWith(github.ref, 'refs/tags/')
24+
if: startsWith(github.ref, 'refs/tags/')
2825
runs-on: ubuntu-latest
2926
permissions:
3027
contents: write
@@ -83,8 +80,6 @@ jobs:
8380

8481
github:
8582
name: "📦 Publish to GitHub"
86-
# Only publish on tag pushes
87-
# if: startsWith(github.ref, 'refs/tags/')
8883
needs:
8984
- build
9085
runs-on: ubuntu-latest
@@ -116,8 +111,6 @@ jobs:
116111

117112
testpypi:
118113
name: "📦 Test publishing to PyPI"
119-
# Only publish on tag pushes
120-
# if: startsWith(github.ref, 'refs/tags/')
121114
needs:
122115
- build
123116
runs-on: ubuntu-latest
@@ -150,8 +143,6 @@ jobs:
150143

151144
pypi:
152145
name: "📦 Publish to PyPi"
153-
# Only publish on tag pushes
154-
# if: startsWith(github.ref, 'refs/tags/')
155146
needs:
156147
- testpypi
157148
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)