From fe9fa2e614bb07ecefda10463c7ca250f018535d Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 25 Nov 2024 10:10:55 +0100 Subject: [PATCH] ci: run release job when release message is present --- .gitea/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ed9d0a9..4e1410a 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -39,6 +39,9 @@ jobs: release: runs-on: ubuntu-latest needs: build + if: contains(github.event.head_commit.message, 'Release-As:') + env: + USERNAME: servostar steps: - name: Check out repository code uses: actions/checkout@v3