summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-10-16 12:48:39 -0500
committerAiden Cline <[email protected]>2025-10-16 12:48:39 -0500
commit64617c113aaadcde09674d27da11042beabcbba9 (patch)
treece3009e2e7034ef7ba1af9e7d49ed2fb1ae482ba
parent860c6338fc29089fbc40ca4aaf1f6c97a29b610b (diff)
downloadopencode-64617c113aaadcde09674d27da11042beabcbba9.tar.gz
opencode-64617c113aaadcde09674d27da11042beabcbba9.zip
ignore: tweak permissions
-rw-r--r--.github/workflows/opencode.yml6
-rw-r--r--packages/opencode/src/cli/cmd/github.ts6
2 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml
index 193d8f3e5..fe480822e 100644
--- a/.github/workflows/opencode.yml
+++ b/.github/workflows/opencode.yml
@@ -13,10 +13,10 @@ jobs:
startsWith(github.event.comment.body, '/opencode')
runs-on: ubuntu-latest
permissions:
- contents: write
- pull-requests: write
- issues: write
id-token: write
+ contents: read
+ pull-requests: read
+ issues: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
diff --git a/packages/opencode/src/cli/cmd/github.ts b/packages/opencode/src/cli/cmd/github.ts
index 79879a691..fcf107e34 100644
--- a/packages/opencode/src/cli/cmd/github.ts
+++ b/packages/opencode/src/cli/cmd/github.ts
@@ -334,10 +334,10 @@ jobs:
startsWith(github.event.comment.body, '/opencode')
runs-on: ubuntu-latest
permissions:
- contents: write
- pull-requests: write
- issues: write
id-token: write
+ contents: read
+ pull-requests: read
+ issues: read
steps:
- name: Checkout repository
uses: actions/checkout@v4