From 308b46bccccaf2c9a0739bba2fa5b3e9d67c6bfe Mon Sep 17 00:00:00 2001 From: Gary James <13685708+GtheSheep@users.noreply.github.com> Date: Wed, 2 Oct 2024 21:04:03 +0100 Subject: [PATCH] fix - Release condition --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d4389a..d38fd88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,9 +4,9 @@ name: Release # This GitHub action creates a release when a tag that matches the pattern # "v*" (e.g. v0.1.0) is created. on: - pull_request: - branches: - - 'main' + push: + tags: + - 'v*' # Releases need permissions to read and write the repository contents. # GitHub considers creating releases and uploading assets as writing contents.