Skip to content

Commit 7e14cc6

Browse files
committed
ci: fix OPENCODE_PERMISSION env vars
1 parent 2f5b2b2 commit 7e14cc6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/duplicate-issues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
OPENCODE_PERMISSION: |
2929
{
3030
"bash": {
31-
"gh issue*": "allow",
32-
"*": "deny"
31+
"*": "deny",
32+
"gh issue*": "allow"
3333
},
3434
"webfetch": "deny"
3535
}

.github/workflows/review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
env:
4848
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
OPENCODE_PERMISSION: '{ "bash": { "gh*": "allow", "gh pr review*": "deny", "*": "deny" } }'
50+
OPENCODE_PERMISSION: '{ "bash": { "*": "deny", "gh*": "allow", "gh pr review*": "deny" } }'
5151
PR_TITLE: ${{ steps.pr-details.outputs.title }}
5252
run: |
5353
PR_BODY=$(jq -r .body pr_data.json)

0 commit comments

Comments
 (0)