From 9d0a83c4b2760e434c7f0ed45ad44eabf4d248a7 Mon Sep 17 00:00:00 2001 From: Erik Burton Date: Mon, 23 Feb 2026 14:13:02 -0800 Subject: [PATCH] fix: changed-modules-go context logging --- .changeset/twelve-bags-train.md | 5 +++++ actions/changed-modules-go/dist/index.js | 2 +- actions/changed-modules-go/src/run.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/twelve-bags-train.md diff --git a/.changeset/twelve-bags-train.md b/.changeset/twelve-bags-train.md new file mode 100644 index 000000000..434f8d838 --- /dev/null +++ b/.changeset/twelve-bags-train.md @@ -0,0 +1,5 @@ +--- +"changed-modules-go": patch +--- + +fix: context logging diff --git a/actions/changed-modules-go/dist/index.js b/actions/changed-modules-go/dist/index.js index fe273d396..03a269d3e 100644 --- a/actions/changed-modules-go/dist/index.js +++ b/actions/changed-modules-go/dist/index.js @@ -36074,7 +36074,7 @@ async function run() { core5.startGroup("Inputs and Context"); const context3 = getInvokeContext(); core5.info( - `Extracted Context: ${JSON.stringify({ context: context3, ...{ token: "" } }, null, 2)}` + `Extracted Context: ${JSON.stringify({ ...context3, token: "" }, null, 2)}` ); const inputs = getInputs(); core5.info(`Extracted Inputs: ${JSON.stringify(inputs, null, 2)}`); diff --git a/actions/changed-modules-go/src/run.ts b/actions/changed-modules-go/src/run.ts index e352c63df..c36e4f50e 100644 --- a/actions/changed-modules-go/src/run.ts +++ b/actions/changed-modules-go/src/run.ts @@ -30,7 +30,7 @@ export async function run(): Promise { core.startGroup("Inputs and Context"); const context = getInvokeContext(); core.info( - `Extracted Context: ${JSON.stringify({ context, ...{ token: "" } }, null, 2)}`, + `Extracted Context: ${JSON.stringify({ ...context, token: "" }, null, 2)}`, ); const inputs = getInputs();