mirror of
https://github.com/docker/build-push-action.git
synced 2026-09-12 14:04:30 +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) {
|
if (metadata) {
|
||||||
await core.group(`Metadata`, async () => {
|
await core.group(`Metadata`, async () => {
|
||||||
const metadatadt = JSON.stringify(metadata, null, 2);
|
const metadatadt = JSON.stringify(metadata, null, 2);
|
||||||
core.info(metadatadt);
|
GitHub.printUntrusted(metadatadt);
|
||||||
core.setOutput('metadata', metadatadt);
|
core.setOutput('metadata', metadatadt);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user