We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba69706 commit d14082dCopy full SHA for d14082d
.github/workflows/merge.yml
@@ -69,6 +69,8 @@ jobs:
69
name: Build and publish Python 🐍 distributions 📦 to PyPI
70
runs-on: ubuntu-latest
71
needs: prepare
72
+ # Only trigger on merges, not just closes
73
+ if: github.event.pull_request.merged == true
74
steps:
75
- name: Check out committed code
76
uses: actions/checkout@main
@@ -99,5 +101,4 @@ jobs:
99
101
uses: pypa/gh-action-pypi-publish@master
100
102
with:
103
password: ${{ secrets.pypi_token }}
- repository_url: https://pypi.org/legacy/
104
skip_existing: true
0 commit comments