From 3c8d45dfce759103e012aba32f9cda940d666f98 Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Mon, 27 Feb 2023 12:07:04 +0100 Subject: [PATCH] workflows: build and deploy: allow multi-digit revisions According to github action syntax [1], there is no special character to denote a match on zero or more of the preceding character, so replace `[0-9]?` which only matches zero or one of the preceding characters with a `*`. [1] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [skip ci] Changelog-entry: trigger deploy builds on multi-digit revisions too Signed-off-by: Alex Gonzalez --- .github/workflows/build_and_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 52d60c6..ae60a68 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -3,7 +3,7 @@ name: 'Deploy on release tag' on: push: tags: - - v[0-9]+.[0-9]+.[0-9]+\+?r?e?v?[0-9]? + - v[0-9]+.[0-9]+.[0-9]+\+?r?e?v?* - v20[0-9][0-9].[0-1]?[1470].[0-9]+ # Allows you to run this workflow manually from the Actions tab