From 6b1199fc74a8d2fc6655ffeef09ae961dc0b8c37 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Mon, 26 Feb 2024 16:40:31 +0000 Subject: [PATCH] ci(publish): only run on manual workflow, remove tag check Signed-off-by: Ewan Harris --- .github/workflows/publish.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 855d92da..323b07ce 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,9 +1,6 @@ name: Publish Release on: - pull_request: - types: - - closed workflow_dispatch: ### TODO: Replace instances of './.github/actions/' with reference to the `dx-sdk-actions` repo is made public and this file is transferred over @@ -47,17 +44,6 @@ jobs: repo_owner: ${{ github.repository_owner }} repo_name: ${{ github.event.repository.name }} - # Check if the tag already exists - - id: tag_exists - uses: ./.github/actions/tag-exists - with: - tag: ${{ steps.get_version.outputs.version }} - token: ${{ secrets.GITHUB_TOKEN }} - - # If the tag already exists, exit with an error - - if: steps.tag_exists.outputs.exists == 'true' - run: exit 1 - # Create a release for the tag - uses: ./.github/actions/release-create with: