From e504df3d4276629219e2050a651791d218850cd4 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index caa548f..ecf4a2f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,6 +3,11 @@ on: push: tags: - '[0-9]+.[0-9]+.[0-9]+' + workflow_run: + workflows: [ "test" ] + branches: [ master ] + types: + - completed env: ENDPOINT: services-3 @@ -15,6 +20,7 @@ env: jobs: build-docker-image: + if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: node20 container: image: catthehacker/ubuntu:act-24.04