summaryrefslogtreecommitdiffhomepage
path: root/github
diff options
context:
space:
mode:
authorLeonidas <[email protected]>2026-01-13 16:53:30 +0100
committerGitHub <[email protected]>2026-01-13 09:53:30 -0600
commita092f567b76770cedaea0e3e9a13c574584b4fcb (patch)
tree2e411d0d266a52d971332b48f3aceb2fa3531305 /github
parent883a6577d570f5e98af81229716e409dbf20493f (diff)
downloadopencode-a092f567b76770cedaea0e3e9a13c574584b4fcb.tar.gz
opencode-a092f567b76770cedaea0e3e9a13c574584b4fcb.zip
fix(github): add persist-credentials: false to workflow templates (#8202)
Diffstat (limited to 'github')
-rw-r--r--github/README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/github/README.md b/github/README.md
index 954710f23..8238bdc42 100644
--- a/github/README.md
+++ b/github/README.md
@@ -81,12 +81,13 @@ This will walk you through installing the GitHub app, creating the workflow, and
permissions:
id-token: write
steps:
- - name: Checkout repository
- uses: actions/checkout@v6
- with:
- fetch-depth: 1
+ - name: Checkout repository
+ uses: actions/checkout@v6
+ with:
+ fetch-depth: 1
+ persist-credentials: false
- - name: Run opencode
+ - name: Run opencode
uses: anomalyco/opencode/github@latest
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}