Skip to content

Commit 966c636

Browse files
Chris1221claude
andcommitted
ci: trigger publish on tag push instead of release published
GitHub Actions does not fire workflow triggers for events created by GITHUB_TOKEN, so the release-please bot creating a release never fired the publish workflow. Switching to push: tags fires correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 27f51ea commit 966c636

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
name: Publish to PyPI
33

44
on:
5-
release:
6-
types: [published]
5+
push:
6+
tags:
7+
- 'v*'
78

89
permissions:
910
contents: read

0 commit comments

Comments
 (0)