From 7f6ac1893bec6265374d8e8edd55efec89e1e48c Mon Sep 17 00:00:00 2001 From: Valentin Berlier Date: Sat, 17 Sep 2022 23:36:27 +0200 Subject: [PATCH] fix: python-semantic-release already checks the branch --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f5663f5..cdd583b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: |