Skip to content

Commit ca1a5d3

Browse files
authored
Disable push trigger for PyPI publish workflow
Remove automatic trigger on push to main branch.
1 parent a775bb5 commit ca1a5d3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Publish Python distribution to PyPI
22

33
on:
4-
push:
5-
branches: [ main ]
64
workflow_dispatch:
75

86

@@ -53,4 +51,4 @@ jobs:
5351
name: python-package-distributions
5452
path: dist/
5553
- name: Publish distribution to PyPI
56-
uses: pypa/gh-action-pypi-publish@release/v1
54+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)