From 51147f9d62071f12fd41b2da719779483f100643 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 12:29:25 +0000 Subject: [PATCH 1/2] Initial plan From ec4676bc8a671e857e2bcd6188e2dbacf88b87d8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 12:36:04 +0000 Subject: [PATCH 2/2] chore: fix formatting issues (devcontainer.json and test alignment) Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com> --- .devcontainer/devcontainer.json | 9 +-------- .../permissions_shortcut_included_test.go | 20 +++++++++---------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c8ff4249f4..da5e377b59 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,14 +3,7 @@ "image": "mcr.microsoft.com/devcontainers/go:1-bookworm", "customizations": { "vscode": { - "extensions": [ - "golang.go", - "GitHub.copilot-chat", - "GitHub.copilot", - "github.vscode-github-actions", - "astro-build.astro-vscode", - "DavidAnson.vscode-markdownlint" - ] + "extensions": ["golang.go", "GitHub.copilot-chat", "GitHub.copilot", "github.vscode-github-actions", "astro-build.astro-vscode", "DavidAnson.vscode-markdownlint"] }, "codespaces": { "repositories": { diff --git a/pkg/workflow/permissions_shortcut_included_test.go b/pkg/workflow/permissions_shortcut_included_test.go index 85cc8a2d71..9fee57fba6 100644 --- a/pkg/workflow/permissions_shortcut_included_test.go +++ b/pkg/workflow/permissions_shortcut_included_test.go @@ -13,11 +13,11 @@ import ( // work correctly in included files, matching the UX of main workflows. func TestPermissionsShortcutInIncludedFiles(t *testing.T) { tests := []struct { - name string - includedPermissions string - mainPermissions string - expectCompilationError bool - expectLockFileContains string + name string + includedPermissions string + mainPermissions string + expectCompilationError bool + expectLockFileContains string }{ { name: "read-all shortcut in included file", @@ -130,11 +130,11 @@ tools: // TestPermissionsShortcutMixedUsage tests that shortcuts and object form can be mixed across files func TestPermissionsShortcutMixedUsage(t *testing.T) { tests := []struct { - name string - includedPermissions string - mainPermissions string - expectCompilationError bool - expectLockFileContains []string + name string + includedPermissions string + mainPermissions string + expectCompilationError bool + expectLockFileContains []string }{ { name: "shortcut in included file, object in main",