mirror of
https://github.com/docker/build-push-action.git
synced 2026-09-11 05:34:22 +02:00
prevent workflow command injection in metadata logs
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ actionsToolkit.run(
|
||||
if (metadata) {
|
||||
await core.group(`Metadata`, async () => {
|
||||
const metadatadt = JSON.stringify(metadata, null, 2);
|
||||
core.info(metadatadt);
|
||||
GitHub.printUntrusted(metadatadt);
|
||||
core.setOutput('metadata', metadatadt);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user