Merge pull request #1617 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:15 -07:00
committed by GitHub
3 changed files with 29 additions and 29 deletions
Generated Vendored
+26 -26
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
@@ -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);
});
}