mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
feat(codex): add codex config.toml
This commit is contained in:
parent
8014e2cc45
commit
96d4c82f3e
2 changed files with 68 additions and 0 deletions
34
.codex/rules/default.rules
Normal file
34
.codex/rules/default.rules
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
prefix_rule(
|
||||
pattern = ["just"],
|
||||
decision = "allow",
|
||||
justification = "Executing Justfile commands is allowed",
|
||||
match = [
|
||||
"just",
|
||||
"just darwin",
|
||||
"just darwin-debug",
|
||||
],
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["git"],
|
||||
decision = "allow",
|
||||
justification = "Git is allowed",
|
||||
match = [
|
||||
"git add .",
|
||||
"git commit -m",
|
||||
"git worktree",
|
||||
"git status",
|
||||
"git log",
|
||||
"git branch",
|
||||
],
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["gh"],
|
||||
decision = "allow",
|
||||
justification = "Github CLI is allowed",
|
||||
match = [
|
||||
"gh pr",
|
||||
"gh repo",
|
||||
],
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue