Skip to content

Commit

Permalink
ci: only run the publish workflow on pushes to main (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist authored Sep 16, 2024
1 parent 7cbcab9 commit cfd6dc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish Python distribution to PyPI and TestPyPI

on: push
on:
push:
branches: [main]

jobs:
build:
Expand Down

0 comments on commit cfd6dc1

Please sign in to comment.