Skip to content

Commit 1645112

Browse files
committed
chore: remove release trigger on push
1 parent 9c860df commit 1645112

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Publish to PyPI
22

33
on:
4-
push:
5-
tags:
6-
- 'v*' # Trigger on version tag push, e.g., v1.0.0
74
release:
85
types: [published] # Trigger when a release is published
96
workflow_dispatch: # Allow manual triggering
@@ -78,7 +75,7 @@ jobs:
7875
publish:
7976
needs: build
8077
runs-on: ubuntu-latest
81-
if: github.event_name == 'release' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
78+
if: github.event_name == 'release'
8279
environment:
8380
name: pypi
8481
url: https://pypi.org/p/openchatbi

0 commit comments

Comments
 (0)