From 4de4625db557f9581120051ca3875701ed368366 Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Thu, 1 Aug 2024 19:30:49 +0200 Subject: [PATCH] ci: only release on tag push --- .github/workflows/release.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87bd4a6..c5d8c76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,19 +1,16 @@ name: Release on: - workflow_run: - workflows: ["Go Check"] - types: - - completed - branches: - - master + push: + tags: + - v* jobs: release: - + runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'success' }} - + steps: - name: Checkout code uses: actions/checkout@v4