Require tests pass before publishing new version
All checks were successful
Build & Release / build-docker-image (push) Has been skipped
Build & Release / deploy-to-production (push) Has been skipped
Run Tests / run-tests (push) Successful in 38s

This commit is contained in:
2026-05-02 12:33:45 +02:00
parent 450533414e
commit 45cef42268
2 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,10 @@ on:
push: push:
tags: tags:
- '[0-9]+.[0-9]+.[0-9]+' - '[0-9]+.[0-9]+.[0-9]+'
workflow_run:
workflows: [ "Run Tests" ]
types:
- completed
env: env:
ENDPOINT: services-3 ENDPOINT: services-3
@@ -15,6 +19,7 @@ env:
jobs: jobs:
build-docker-image: build-docker-image:
if: ${{ gitea.event.workflow_run.conclusion == 'success' && gitea.ref_type == 'tag' }}
runs-on: node20 runs-on: node20
container: container:
image: catthehacker/ubuntu:act-24.04 image: catthehacker/ubuntu:act-24.04

View File

@@ -1,6 +1,7 @@
name: Run Tests name: Run Tests
on: on:
push: {} push: {}
workflow_dispatch:
env: env:
RUNNER_TOOL_CACHE: /toolcache RUNNER_TOOL_CACHE: /toolcache
jobs: jobs: