From 72b366757b5bcbba629d27315548f4b01d15ab90 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Sat, 2 May 2026 12:33:45 +0200 Subject: [PATCH] Require tests pass before publishing new version --- .gitea/workflows/build.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index caa548f..f09b5c2 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,8 +1,10 @@ name: Build & Release on: - push: - tags: - - '[0-9]+.[0-9]+.[0-9]+' + workflow_run: + workflows: [ "Run Tests" ] + branches: [ 'refs/tags/[0-9]+.[0-9]+.[0-9]+' ] + types: + - completed env: ENDPOINT: services-3 @@ -15,6 +17,7 @@ env: jobs: build-docker-image: + if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: node20 container: image: catthehacker/ubuntu:act-24.04