Merge pull request #509 from crazy-max/fix-metadata-workflow-commands

prevent workflow command injection in metadata logs
This commit is contained in:
Tõnis Tiigi
2026-09-10 18:13:35 -07:00
committed by GitHub
3 changed files with 15 additions and 15 deletions
Generated Vendored
+12 -12
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -176,7 +176,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);
});
}