Skip to content

Commit 82a65b6

Browse files
authored
fix: changed-modules-go context logging (#1425)
1 parent 40e2bdb commit 82a65b6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/twelve-bags-train.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"changed-modules-go": patch
3+
---
4+
5+
fix: context logging

actions/changed-modules-go/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36074,7 +36074,7 @@ async function run() {
3607436074
core5.startGroup("Inputs and Context");
3607536075
const context3 = getInvokeContext();
3607636076
core5.info(
36077-
`Extracted Context: ${JSON.stringify({ context: context3, ...{ token: "<redacted>" } }, null, 2)}`
36077+
`Extracted Context: ${JSON.stringify({ ...context3, token: "<redacted>" }, null, 2)}`
3607836078
);
3607936079
const inputs = getInputs();
3608036080
core5.info(`Extracted Inputs: ${JSON.stringify(inputs, null, 2)}`);

actions/changed-modules-go/src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export async function run(): Promise<void> {
3030
core.startGroup("Inputs and Context");
3131
const context = getInvokeContext();
3232
core.info(
33-
`Extracted Context: ${JSON.stringify({ context, ...{ token: "<redacted>" } }, null, 2)}`,
33+
`Extracted Context: ${JSON.stringify({ ...context, token: "<redacted>" }, null, 2)}`,
3434
);
3535

3636
const inputs = getInputs();

0 commit comments

Comments
 (0)