GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(github): add persist-credentials: false to workflow templates (#8… · yunfan/opencode@a092f56

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • github
    • README.md
  • packages
    • opencode/src/cli/cmd
      • github.ts
    • web/src/content/docs
      • github.mdx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎github/README.md‎

Copy file name to clipboardExpand all lines: github/README.md
+6-5Lines changed: 6 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,13 @@ This will walk you through installing the GitHub app, creating the workflow, and
8181
permissions:
8282
id-token: write
8383
steps:
84-
- name: Checkout repository
85-
uses: actions/checkout@v6
86-
with:
87-
fetch-depth: 1
84+
- name: Checkout repository
85+
uses: actions/checkout@v6
86+
with:
87+
fetch-depth: 1
88+
persist-credentials: false
8889

89-
- name: Run opencode
90+
- name: Run opencode
9091
uses: anomalyco/opencode/github@latest
9192
env:
9293
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
Collapse file

‎packages/opencode/src/cli/cmd/github.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/src/cli/cmd/github.ts
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ jobs:
394394
steps:
395395
- name: Checkout repository
396396
uses: actions/checkout@v6
397+
with:
398+
persist-credentials: false
397399
398400
- name: Run opencode
399401
uses: anomalyco/opencode/github@latest${envStr}
Collapse file

‎packages/web/src/content/docs/github.mdx‎

Copy file name to clipboardExpand all lines: packages/web/src/content/docs/github.mdx
+12-5Lines changed: 12 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,13 @@ Or you can set it up manually.
5757
permissions:
5858
id-token: write
5959
steps:
60-
- name: Checkout repository
61-
uses: actions/checkout@v6
62-
with:
63-
fetch-depth: 1
60+
- name: Checkout repository
61+
uses: actions/checkout@v6
62+
with:
63+
fetch-depth: 1
64+
persist-credentials: false
6465

65-
- name: Run OpenCode
66+
- name: Run OpenCode
6667
uses: anomalyco/opencode/github@latest
6768
env:
6869
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
@@ -135,6 +136,8 @@ jobs:
135136
steps:
136137
- name: Checkout repository
137138
uses: actions/checkout@v6
139+
with:
140+
persist-credentials: false
138141
139142
- name: Run OpenCode
140143
uses: anomalyco/opencode/github@latest
@@ -172,6 +175,8 @@ jobs:
172175
issues: read
173176
steps:
174177
- uses: actions/checkout@v6
178+
with:
179+
persist-credentials: false
175180
- uses: anomalyco/opencode/github@latest
176181
env:
177182
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
@@ -223,6 +228,8 @@ jobs:
223228
224229
- uses: actions/checkout@v6
225230
if: steps.check.outputs.result == 'true'
231+
with:
232+
persist-credentials: false
226233
227234
- uses: anomalyco/opencode/github@latest
228235
if: steps.check.outputs.result == 'true'

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.