diff --git a/.github/workflows/check-go-dependencies-task.yml b/.github/workflows/check-go-dependencies-task.yml index 2d30274acf1..f2013d855e2 100644 --- a/.github/workflows/check-go-dependencies-task.yml +++ b/.github/workflows/check-go-dependencies-task.yml @@ -43,7 +43,7 @@ jobs: - name: Determine if the rest of the workflow should run id: determination run: | - RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x" + RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x" # The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead. if [[ "${{ github.event_name }}" != "create" || diff --git a/.github/workflows/check-go-task.yml b/.github/workflows/check-go-task.yml index b4acae970f3..89443f77018 100644 --- a/.github/workflows/check-go-task.yml +++ b/.github/workflows/check-go-task.yml @@ -34,7 +34,7 @@ jobs: - name: Determine if the rest of the workflow should run id: determination run: | - RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x" + RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x" # The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead. if [[ \ "${{ github.event_name }}" != "create" || \ diff --git a/.github/workflows/check-i18n-task.yml b/.github/workflows/check-i18n-task.yml index 085c3191a70..659f6e4a92c 100644 --- a/.github/workflows/check-i18n-task.yml +++ b/.github/workflows/check-i18n-task.yml @@ -8,8 +8,8 @@ env: on: push: branches: - # Release branches have names like v0.35.x, v0.36.x, ... - - "v[0-9]+.[0-9]+.x" + # Release branches have names like 0.8.x, 0.9.x, ... + - "[0-9]+.[0-9]+.x" workflow_dispatch: repository_dispatch: diff --git a/.github/workflows/check-markdown-task.yml b/.github/workflows/check-markdown-task.yml index d649159a4f8..12dd65d6c2c 100644 --- a/.github/workflows/check-markdown-task.yml +++ b/.github/workflows/check-markdown-task.yml @@ -53,7 +53,7 @@ jobs: - name: Determine if the rest of the workflow should run id: determination run: | - RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x" + RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x" # The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead. if [[ "${{ github.event_name }}" != "create" || diff --git a/.github/workflows/check-protobuf-task.yml b/.github/workflows/check-protobuf-task.yml index 65d2e0c2709..9e46bede483 100644 --- a/.github/workflows/check-protobuf-task.yml +++ b/.github/workflows/check-protobuf-task.yml @@ -29,7 +29,7 @@ jobs: - name: Determine if the rest of the workflow should run id: determination run: | - RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x" + RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x" # The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead. if [[ \ "${{ github.event_name }}" != "create" || \ diff --git a/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml b/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml index 39766c9903f..1f8902be25b 100644 --- a/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml +++ b/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml @@ -12,8 +12,8 @@ on: branches: # Branch to base "dev" website on. Set in siteversion.py also. - master - # Release branches have names like v0.35.x, 0.36.x, ... - - "v[0-9]+.[0-9]+.x" + # Release branches have names like 0.8.x, 0.9.x, ... + - "[0-9]+.[0-9]+.x" paths: - "docs/**" - ".github/workflows/deploy-cobra-mkdocs-versioned-poetry.ya?ml" @@ -38,7 +38,7 @@ jobs: - name: Determine if documentation should be published on this workflow run id: determination run: | - RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x" + RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x" if [[ "${{ github.event_name }}" == "push" || ( "${{ github.event_name }}" == "create" && "${{ github.ref }}" =~ $RELEASE_BRANCH_REGEX ) ]]; then RESULT="true" else diff --git a/.github/workflows/publish-go-tester-task.yml b/.github/workflows/publish-go-tester-task.yml index d1103965cc8..f358a4fe4e7 100644 --- a/.github/workflows/publish-go-tester-task.yml +++ b/.github/workflows/publish-go-tester-task.yml @@ -38,7 +38,7 @@ jobs: - name: Determine if the rest of the workflow should run id: determination run: | - RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x" + RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x" TAG_REGEX="refs/tags/.*" # The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead. if [[ \ diff --git a/.github/workflows/test-go-task.yml b/.github/workflows/test-go-task.yml index ba1aa2e4a0f..4b4c2865a4c 100644 --- a/.github/workflows/test-go-task.yml +++ b/.github/workflows/test-go-task.yml @@ -43,7 +43,7 @@ jobs: - name: Determine if the rest of the workflow should run id: determination run: | - RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x" + RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x" # The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead. if [[ \ "${{ github.event_name }}" != "create" || \