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 — GitHub action incompatible with actions/checkout@v6 · Issue #5827 · anomalyco/opencode

GitHub action incompatible with actions/checkout@v6 #5827

New issue
Copy link
New issue
Copy link
Closed
#6667
Closed
GitHub action incompatible with actions/checkout@v6#5827
#6667
Copy link
Assignees
fwang
Labels
bugSomething isn't working

Description

@amartani
amartani
opened on Dec 20, 2025
Issue body actions

Description

actions/checkout@v6 changed how credentials are persisted, which results in the opencode github action workflow to fail with:

Configuring git...
846 |         // Do not change git config when running locally
847 |         if (isMock) return
848 | 
849 |         console.log("Configuring git...")
850 |         const config = "http.https://github.com/.extraheader"
851 |         const ret = await $`git config --local --get ${config}`
                     ^
ShellError: Failed with exit code 1
 exitCode: 1,
   stdout: "",
   stderr: "",

      at new ShellPromise (75:16)
      at BunShell (191:35)
      at configureGit (src/cli/cmd/github.ts:851:27)
      at configureGit (src/cli/cmd/github.ts:845:35)
      at <anonymous> (src/cli/cmd/github.ts:443:17)

Reverting to actions/checkout@v5 fixed the issue.

OpenCode version

1.0.174

Steps to reproduce

  1. Configure the opencode github action as suggested in the documentation
  2. Upgrade actions/checkout to v6
  3. Try to use it

Screenshot and/or share link

Workflow: https://github.com/amartani/oci-extract/blob/f132bec0bb4dc4a6fced5202ed67c58ee2b13422/.github/workflows/opencode.yml
Failed run: https://github.com/amartani/oci-extract/actions/runs/20389043613/job/58595395805#step:3:79

Operating System

Linux

Terminal

GitHub Action

Reacted by Brian Ojeda

Activity

  1. amartani
    added
    bugSomething isn't working
    on Dec 20, 2025
  2. amartani
    changed the title [-]GitHub action incompatible with checkout/actions@v6[/-] [+]GitHub action incompatible with actions/checkout@v6[/+] on Dec 20, 2025
  3. github-actions
    assigned
    thdxr
    on Dec 20, 2025
  4. rekram1-node commented on Dec 20, 2025

    @rekram1-node
    rekram1-node
    on Dec 20, 2025
    Member
    More actions

    wait but we dont say to use v6 right?

  5. rekram1-node
    assigned
    fwang
    and unassigned
    thdxr
    on Dec 20, 2025
  6. amartani commented on Dec 20, 2025

    @amartani
    amartani
    on Dec 20, 2025
    Author
    More actions

    Yes, the current instructions in the repo do work. I had dependabot upgrade my actions, which broke my setup, and I figured I should at least report so that others can find it if it affects them.

  7. rekram1-node
    closed this as completedin #6667on Jan 2, 2026
  8. dyoshikawa
    added a commit that references this issue on Jan 5, 2026

    fix: downgrade to actions/checkout@v5 for OpenCode compatibility

    7a9561e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @fwang
    fwang

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — 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.