From 7851b813236cc1c8a0674a81ce83b968ffe4cdd3 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilyanov Date: Wed, 20 Mar 2024 01:29:57 +0300 Subject: [PATCH] ci: disable automatic semantic-release From this point, releases will be manual. --- .github/workflows/build.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c35cec..a78dcfe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,27 +24,3 @@ jobs: - name: Run tests run: | poetry run pytest - - release: - needs: tests - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'generated by python-semantic-release') - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Install Python packages - run: pip install poetry python-semantic-release - - name: Release - run: | - git config --global user.name "Dmitry Vasilyanov" - git config --global user.email "vdmit11@gmail.com" - semantic-release publish -D commit_author="Dmitry Vasilyanov " - env: - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} - PYPI_TOKEN: ${{secrets.PYPI_TOKEN}} -