Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/go-logger.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/technical-doc-writer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/tidy.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions pkg/cli/commands_compile_workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ on:
branches: [main]
permissions:
contents: read
issues: read
pull-requests: read
---

# Test Workflow
Expand Down Expand Up @@ -58,6 +60,8 @@ on:
- cron: "0 9 * * 1"
permissions:
contents: write
issues: read
pull-requests: read
---

# Verbose Test Workflow
Expand Down Expand Up @@ -88,6 +92,8 @@ on:
branches: [main]
permissions:
contents: read
issues: read
pull-requests: read
---

# Engine Override Test
Expand Down Expand Up @@ -421,6 +427,8 @@ on:
branches: [main]
permissions:
contents: read
issues: read
pull-requests: read
---

# Test Workflow
Expand Down Expand Up @@ -460,6 +468,8 @@ on:
branches: [main]
permissions:
contents: read
issues: read
pull-requests: read
---

# Test Workflow
Expand Down
2 changes: 2 additions & 0 deletions pkg/cli/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ on:
workflow_dispatch:
permissions:
contents: read
issues: read
pull-requests: read
---

# Test Workflow for No Emit
Expand Down
8 changes: 8 additions & 0 deletions pkg/cli/compile_dependabot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ func TestCompileDependabotIntegration(t *testing.T) {
on: push
permissions:
contents: read
issues: read
pull-requests: read
steps:
- run: npx @playwright/mcp@latest --help
---
Expand Down Expand Up @@ -159,6 +161,8 @@ func TestCompileDependabotNoDependencies(t *testing.T) {
on: push
permissions:
contents: read
issues: read
pull-requests: read
---

# Test Workflow
Expand Down Expand Up @@ -239,6 +243,8 @@ func TestCompileDependabotPreserveExisting(t *testing.T) {
on: push
permissions:
contents: read
issues: read
pull-requests: read
steps:
- run: npx @playwright/mcp@latest --help
---
Expand Down Expand Up @@ -348,6 +354,8 @@ func TestCompileDependabotMergeExistingNpm(t *testing.T) {
on: push
permissions:
contents: read
issues: read
pull-requests: read
steps:
- run: npx @playwright/mcp@latest --help
---
Expand Down
4 changes: 4 additions & 0 deletions pkg/cli/compile_instructions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ func TestCompileDoesNotWriteInstructions(t *testing.T) {
on: workflow_dispatch
permissions:
contents: read
issues: read
pull-requests: read
engine: claude
---

Expand Down Expand Up @@ -153,6 +155,8 @@ func TestCompileDoesNotWriteInstructionsWhenCompilingAll(t *testing.T) {
on: workflow_dispatch
permissions:
contents: read
issues: read
pull-requests: read
engine: claude
---

Expand Down
7 changes: 5 additions & 2 deletions pkg/workflow/action_sha_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ on: push
engine: copilot
permissions:
contents: read
---
issues: read
pull-requests: read

# Test Workflow
This is a test workflow to verify SHA pinning.
Expand Down Expand Up @@ -84,6 +85,7 @@ engine: copilot
permissions:
contents: read
issues: write
pull-requests: read
safe-outputs:
create-issue:
---
Expand Down Expand Up @@ -143,7 +145,8 @@ on: push
engine: copilot
permissions:
contents: read
---
issues: read
pull-requests: read

# Simple Test
Just a simple test workflow.
Expand Down
4 changes: 4 additions & 0 deletions pkg/workflow/agentic_output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on: push
permissions:
contents: read
issues: write
pull-requests: read
tools:
github:
allowed: [list_issues]
Expand Down Expand Up @@ -123,6 +124,7 @@ on: push
permissions:
contents: read
issues: write
pull-requests: read
tools:
github:
allowed: [list_issues]
Expand Down Expand Up @@ -245,6 +247,8 @@ func TestEngineOutputCleanupExcludesTmpFiles(t *testing.T) {
on: push
permissions:
contents: read
issues: read
pull-requests: read
tools:
github:
allowed: [list_issues]
Expand Down
14 changes: 14 additions & 0 deletions pkg/workflow/allowed_domains_sanitization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ func TestAllowedDomainsFromNetworkConfig(t *testing.T) {
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: copilot
network:
allowed:
Expand Down Expand Up @@ -52,6 +54,8 @@ Test workflow with network permissions.
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: claude
network:
allowed:
Expand All @@ -78,6 +82,8 @@ Test workflow with network permissions.
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: copilot
network: defaults
safe-outputs:
Expand All @@ -104,6 +110,8 @@ Test workflow with defaults network.
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: copilot
safe-outputs:
create-issue:
Expand All @@ -128,6 +136,8 @@ Test workflow without network config.
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: claude
network:
allowed:
Expand Down Expand Up @@ -234,6 +244,8 @@ func TestManualAllowedDomainsHasPriority(t *testing.T) {
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: copilot
network:
allowed:
Expand Down Expand Up @@ -263,6 +275,8 @@ Test that manual allowed-domains takes precedence.
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: copilot
network:
allowed:
Expand Down
6 changes: 6 additions & 0 deletions pkg/workflow/aw_info_steps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ func TestAwInfoStepsFirewall(t *testing.T) {
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: copilot
network:
firewall: true
Expand All @@ -38,6 +40,8 @@ This workflow tests that firewall type is set to squid when enabled.
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: copilot
network:
firewall: false
Expand All @@ -56,6 +60,8 @@ This workflow tests that firewall type is empty when disabled.
on: push
permissions:
contents: read
issues: read
pull-requests: read
engine: claude
---

Expand Down
1 change: 1 addition & 0 deletions pkg/workflow/aw_info_tmp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on: push
permissions:
contents: read
issues: write
pull-requests: read
tools:
github:
allowed: [list_issues]
Expand Down
2 changes: 2 additions & 0 deletions pkg/workflow/cache_memory_import_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ name: Test Import Only
on: workflow_dispatch
permissions:
contents: read
issues: read
pull-requests: read
engine: claude
imports:
- shared/cache-config.md
Expand Down
6 changes: 6 additions & 0 deletions pkg/workflow/cache_memory_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ name: Test Cache Memory Single
on: workflow_dispatch
permissions:
contents: read
issues: read
pull-requests: read
engine: claude
tools:
cache-memory: true
Expand Down Expand Up @@ -52,6 +54,8 @@ name: Test Cache Memory Multiple
on: workflow_dispatch
permissions:
contents: read
issues: read
pull-requests: read
engine: claude
tools:
cache-memory:
Expand Down Expand Up @@ -93,6 +97,8 @@ name: Test Cache Memory Multiple No Keys
on: workflow_dispatch
permissions:
contents: read
issues: read
pull-requests: read
engine: claude
tools:
cache-memory:
Expand Down
Loading
Loading