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 <noreply@anthropic.com> * 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 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
588687ae9a
commit
1dffdd3a1b
2 changed files with 4 additions and 1 deletions
4
.github/workflows/auto-merge.yml
vendored
4
.github/workflows/auto-merge.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, reopened, ready_for_review]
|
types: [opened, reopened, ready_for_review]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
merge:
|
merge:
|
||||||
uses: host-uk/.github/.github/workflows/auto-merge.yml@dev
|
uses: host-uk/.github/.github/workflows/auto-merge.yml@dev
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,6 @@ func (m *Medium) path(p string) string {
|
||||||
return clean
|
return clean
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Join cleaned relative path with root
|
// Join cleaned relative path with root
|
||||||
return filepath.Join(m.root, clean)
|
return filepath.Join(m.root, clean)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue