From 5a203213cadf7b027de17ee8527906843d02412b Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sun, 8 Dec 2024 17:23:12 -0800 Subject: [PATCH] ci: Allow semantic release to create draft releases (#1719) --- .github/workflows/semantic-release.yml | 2 +- package.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 29379a71..02248080 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -51,6 +51,6 @@ jobs: type: zip path: dist filename: frigate-hass-card.zip - - run: npx semantic-release --dry-run + - run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 7817872b..e1d690e4 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,10 @@ "path": "dist/*.js", "label": "JS distribution" } - ] + ], + "draftRelease": true, + "labels": ["ci"], + "assignees": ["dermotduffy"] } ] ]