Skip to content

Commit 6b1199f

Browse files
committed
ci(publish): only run on manual workflow, remove tag check
Signed-off-by: Ewan Harris <[email protected]>
1 parent 10843c9 commit 6b1199f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Publish Release
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
74
workflow_dispatch:
85

96
### 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:
4744
repo_owner: ${{ github.repository_owner }}
4845
repo_name: ${{ github.event.repository.name }}
4946

50-
# Check if the tag already exists
51-
- id: tag_exists
52-
uses: ./.github/actions/tag-exists
53-
with:
54-
tag: ${{ steps.get_version.outputs.version }}
55-
token: ${{ secrets.GITHUB_TOKEN }}
56-
57-
# If the tag already exists, exit with an error
58-
- if: steps.tag_exists.outputs.exists == 'true'
59-
run: exit 1
60-
6147
# Create a release for the tag
6248
- uses: ./.github/actions/release-create
6349
with:

0 commit comments

Comments
 (0)