From a135ba3c58ba13cb25e81ccfcfce10cbcd905700 Mon Sep 17 00:00:00 2001 From: Snider Date: Wed, 4 Feb 2026 18:38:41 +0000 Subject: [PATCH] fix(ci): gofmt base branch + auto-merge permissions (#323) * style(io): fix gofmt formatting in local client Remove extra blank line that causes QA fmt check to fail on all PRs. Co-Authored-By: Claude Opus 4.5 * fix(auto-merge): add required permissions to workflow caller The thin caller was missing contents:write and pull-requests:write permissions, causing startup_failure on every auto-merge run. Co-Authored-By: Claude Opus 4.5 --------- Co-authored-by: Claude Opus 4.5 --- .github/workflows/auto-merge.yml | 4 ++++ pkg/io/local/client.go | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 38594eb4..de6cab79 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -4,6 +4,10 @@ on: pull_request: types: [opened, reopened, ready_for_review] +permissions: + contents: write + pull-requests: write + jobs: merge: uses: host-uk/.github/.github/workflows/auto-merge.yml@dev diff --git a/pkg/io/local/client.go b/pkg/io/local/client.go index 872b9617..452afad3 100644 --- a/pkg/io/local/client.go +++ b/pkg/io/local/client.go @@ -48,7 +48,6 @@ func (m *Medium) path(p string) string { return clean } - // Join cleaned relative path with root return filepath.Join(m.root, clean) }