From 7217826942bcf891ee950991a98a38d0b10a2160 Mon Sep 17 00:00:00 2001 From: Igor Rodionov <496956+goruha@users.noreply.github.com> Date: Wed, 25 Feb 2026 16:14:22 +0300 Subject: [PATCH] Update Go releaser config path in workflow --- .github/workflows/shared-go-auto-release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/shared-go-auto-release.yml b/.github/workflows/shared-go-auto-release.yml index 9821c4b0..33a3d2d0 100644 --- a/.github/workflows/shared-go-auto-release.yml +++ b/.github/workflows/shared-go-auto-release.yml @@ -163,7 +163,9 @@ jobs: run: |- if [ -f .goreleaser.yml ]; then echo 'Go releaser config exists.' - GORELEASER_CONFIG="./.goreleaser.yml" + mkdir -f ../.configs/repo/ + cp ./.goreleaser.yml ../.configs/repo/.goreleaser.yml + GORELEASER_CONFIG="../.configs/repo/.goreleaser.yml" else echo 'Go releaser config does not exist. Use org wide config' GORELEASER_CONFIG="../.configs/.github/goreleaser.yml" @@ -171,7 +173,9 @@ jobs: if [[ "${{ inputs.draft }}" == "true" && -f .goreleaser.draft.yml ]]; then echo 'Go releaser draft config exists and this is draft mode' - GORELEASER_CONFIG="./.goreleaser.draft.yml" + mkdir -f ../.configs/repo/ + cp ./.goreleaser.draft.yml ../.configs/repo/.goreleaser.draft.yml + GORELEASER_CONFIG="../.configs/repo/.goreleaser.draft.yml" fi