From a343defe64c7e9b2fdbe1d739a7c5a185f675ebc Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Wed, 30 Nov 2022 12:37:03 -0400 Subject: [PATCH] Fix release_branch_regexp (#59590) Apparently the non-capturing group was incorrect. I verified the logic in a branch in grafana-github-actions: https://github.com/grafana/grafana-github-actions/compare/jdb/2022-11-prove-grafana-regexp-behaves-correctly?expand=1 Signed-off-by: Jack Baldry Signed-off-by: Jack Baldry --- .github/workflows/publish-technical-documentation-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-technical-documentation-release.yml b/.github/workflows/publish-technical-documentation-release.yml index f0cc55bfd36..e8864acfcb4 100644 --- a/.github/workflows/publish-technical-documentation-release.yml +++ b/.github/workflows/publish-technical-documentation-release.yml @@ -34,7 +34,7 @@ jobs: with: ref_name: "${{ github.ref_name }}" release_tag_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$" - release_branch_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)$" + release_branch_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.x$" - name: "Determine technical documentation version" if: "steps.has-matching-release-tag.outputs.bool == 'true'"