diff --git a/templates/.github/workflows/go-check.yml b/templates/.github/workflows/go-check.yml index 064f4eb3..8b8ad864 100644 --- a/templates/.github/workflows/go-check.yml +++ b/templates/.github/workflows/go-check.yml @@ -13,4 +13,4 @@ concurrency: jobs: go-check: - uses: protocol/.github/shared/.github/workflows/go-check.yml@${{{ source.tag | split(".") | del(.[-1]) | join(".") }}} + uses: protocol/.github/shared/.github/workflows/go-check.yml@${{{ source.tag | split("-") | [(.[0] | split(".") | .[0:2] | join(".")), (.[1:])] | flatten | join("-") }}} diff --git a/templates/.github/workflows/go-test.yml b/templates/.github/workflows/go-test.yml index 4fb773e0..08f7607a 100644 --- a/templates/.github/workflows/go-test.yml +++ b/templates/.github/workflows/go-test.yml @@ -13,4 +13,4 @@ concurrency: jobs: go-test: - uses: protocol/.github/shared/.github/workflows/go-test.yml@${{{ source.tag | split(".") | del(.[-1]) | join(".") }}} + uses: protocol/.github/shared/.github/workflows/go-test.yml@${{{ source.tag | split("-") | [(.[0] | split(".") | .[0:2] | join(".")), (.[1:])] | flatten | join("-") }}} diff --git a/templates/.github/workflows/js-test-and-release.yml b/templates/.github/workflows/js-test-and-release.yml index b5f2771b..1df63a6c 100644 --- a/templates/.github/workflows/js-test-and-release.yml +++ b/templates/.github/workflows/js-test-and-release.yml @@ -15,4 +15,4 @@ concurrency: jobs: js-test-and-release: - uses: protocol/.github/shared/.github/workflows/js-test-and-release.yml@${{{ source.tag | split(".") | del(.[-1]) | join(".") }}} + uses: protocol/.github/shared/.github/workflows/js-test-and-release.yml@${{{ source.tag | split("-") | [(.[0] | split(".") | .[0:2] | join(".")), (.[1:])] | flatten | join("-") }}} diff --git a/templates/.github/workflows/release-check.yml b/templates/.github/workflows/release-check.yml index bcdb4895..7256d706 100644 --- a/templates/.github/workflows/release-check.yml +++ b/templates/.github/workflows/release-check.yml @@ -13,4 +13,4 @@ concurrency: jobs: release-check: - uses: protocol/.github/shared/.github/workflows/release-check.yml@${{{ source.tag | split(".") | .[0] }}} + uses: protocol/.github/shared/.github/workflows/release-check.yml@${{{ source.tag | split("-") | [(.[0] | split(".") | .[0]), (.[1:])] | flatten | join("-") }}} diff --git a/templates/.github/workflows/releaser.yml b/templates/.github/workflows/releaser.yml index ba2950fa..9dd9e8a7 100644 --- a/templates/.github/workflows/releaser.yml +++ b/templates/.github/workflows/releaser.yml @@ -12,4 +12,4 @@ concurrency: jobs: releaser: - uses: protocol/.github/shared/.github/workflows/releaser.yml@${{{ source.tag | split(".") | .[0] }}} + uses: protocol/.github/shared/.github/workflows/releaser.yml@${{{ source.tag | split("-") | [(.[0] | split(".") | .[0]), (.[1:])] | flatten | join("-") }}} diff --git a/templates/.github/workflows/tagpush.yml b/templates/.github/workflows/tagpush.yml index a7f34a3f..984edf82 100644 --- a/templates/.github/workflows/tagpush.yml +++ b/templates/.github/workflows/tagpush.yml @@ -14,4 +14,4 @@ concurrency: jobs: releaser: - uses: protocol/.github/shared/.github/workflows/tagpush.yml@${{{ source.tag | split(".") | .[0] }}} + uses: protocol/.github/shared/.github/workflows/tagpush.yml@${{{ source.tag | split("-") | [(.[0] | split(".") | .[0]), (.[1:])] | flatten | join("-") }}}