Skip to content

Commit

Permalink
fix: template-injection: ignore runner.temp (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw authored Dec 11, 2024
1 parent e3e73f4 commit 7c71e81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/audit/template_injection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ const SAFE_CONTEXTS: &[&str] = &[
"runner.debug",
// GitHub Actions runner operating system.
"runner.os",
// GitHub Actions temporary directory, value controlled by the runner itself.
"runner.temp",
];

impl TemplateInjection {
Expand Down

0 comments on commit 7c71e81

Please sign in to comment.