From f5508733f22b6a5047365183725280ffe91189dc Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 28 Nov 2023 23:25:56 +0100 Subject: [PATCH] ci: :green_heart: Fail if there is no tag --- .gitea/workflows/moulinette.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/moulinette.yml b/.gitea/workflows/moulinette.yml index 76ca71d..4bff8d1 100644 --- a/.gitea/workflows/moulinette.yml +++ b/.gitea/workflows/moulinette.yml @@ -14,6 +14,8 @@ jobs: with: tagRegex: "test-(.+)" # Optional. Returns specified group text as tag name. Full tag string is returned if regex is not defined. tagRegexGroup: 1 # Optional. Default is 1. + failOnNoTag: true # Optional. Default is false. + - name: Show tag name run: echo ${{ steps.tagName.outputs.tag }} - name: Checkout code uses: actions/checkout@v3