Skip to content

Commit

Permalink
Comment reason for condition
Browse files Browse the repository at this point in the history
  • Loading branch information
abhikdps committed Dec 30, 2024
1 parent 3275cd6 commit 2b427a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ jobs:
needs:
- tox
if: github.ref == 'refs/heads/main'
# github.event_name == 'release' && github.event.action == 'published'
# This condition ensures that publishing can only happen on push events to the main branch.
# Pull request events are excluded as they don't have the necessary permissions to publish.
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 2b427a4

Please sign in to comment.