Skip to content

Commit 0b959fd

Browse files
committed
Use --allow-run=bash in CI + specify in AGENTS.md
The new chpwd-hook integration test spawns a bash subprocess to drive the generated shellcode end-to-end, so --allow-run` is required. This change also updates AGENTS.md's documented test command to match the change in ci.yml. Scoped to bash so the test suite cannot spawn arbitrary executables.
1 parent afb758f commit 0b959fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
- uses: denolib/setup-deno@v2
4141
with:
4242
deno-version: v2.x
43-
- run: deno test --allow-read --allow-write --allow-env
43+
- run: deno test --allow-read --allow-write --allow-env --allow-run=bash

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Public repository for developer environment activation tooling.
77
- `deno fmt --check .`
88
- `deno lint .`
99
- `deno check ./app.ts`
10-
- `deno test --allow-read --allow-write --allow-env`
10+
- `deno test --allow-read --allow-write --allow-env --allow-run=bash`
1111

1212
## Always Do
1313

0 commit comments

Comments
 (0)