Skip to content

Commit f5ca585

Browse files
Copilotlpcox
andauthored
fix(guard): add pre-emptive write operation entries for set_variable, upload_release_asset, sync_fork
Agent-Logs-Url: https://github.com/github/gh-aw-mcpg/sessions/8c76a5cb-3e66-4cce-a600-147883fad9c3 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent 32ea1a9 commit f5ca585

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • guards/github-guard/rust-guard/src

guards/github-guard/rust-guard/src/tools.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ pub const WRITE_OPERATIONS: &[&str] = &[
4343
"enable_workflow", // gh workflow enable
4444
"disable_workflow", // gh workflow disable
4545
"set_secret", // gh secret set
46+
"set_variable", // gh variable set
47+
"upload_release_asset", // gh release upload
48+
"sync_fork", // gh repo sync
4649
];
4750

4851
/// Read-write operations that both read and modify data

0 commit comments

Comments
 (0)