Skip to content

Commit

Permalink
fix: python-semantic-release already checks the branch
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Sep 17, 2022
1 parent 6b43323 commit 7f6ac18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Check formatting
run: poetry run black --check .
- name: Release
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit 7f6ac18

Please sign in to comment.