Skip to content

Commit

Permalink
Only create an official release when a tag is set
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Feb 27, 2024
1 parent db1bd6b commit 72e0c6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ jobs:
uses: ardalanamini/auto-changelog@v3
with:
default-commit-type: New Features
if: github.event_name != 'workflow_dispatch'

- name: Create release
uses: actions/create-release@v1
Expand All @@ -166,3 +167,4 @@ jobs:
${{ steps.changelog.outputs.changelog }}
env:
GITHUB_TOKEN: ${{ github.token }}
if: github.event_name != 'workflow_dispatch'

0 comments on commit 72e0c6a

Please sign in to comment.