chore(worktree): preset model do launcher via OPENCODE_WORKTREE_MODEL — fallback comum deepseek-v4-flash #129

Closed
fsolla wants to merge 60 commits from chore/worktree-preset-model-env into main
2 changed files with 12 additions and 4 deletions
Showing only changes of commit ab420f9b7d - Show all commits

View file

@ -36,8 +36,12 @@ jobs:
(github.event_name == 'workflow_dispatch' && inputs.pr != '')
runs-on: ubuntu-latest
env:
# The github-api.mjs client reads GITHUB_TOKEN; the built-in token has
# `issues: write` scoped to this repo (the issue tracker is on GitHub).
# The github-api.mjs client reads GITHUB_TOKEN (not GH_TOKEN); the built-in
# token has `issues: write` scoped to this repo (the issue tracker is on
# GitHub). Explicit `github.token` — the built-in GITHUB_TOKEN env is not
# guaranteed on every event path; passing it via the documented context is
# the robust form (same as agent-pr-ready-automerge.yml).
GITHUB_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v5

View file

@ -43,8 +43,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
# The github-api.mjs client reads GITHUB_TOKEN; the built-in token has
# `issues: write` scoped to this repo (the tracker is on GitHub).
# The github-api.mjs client reads GITHUB_TOKEN (not GH_TOKEN); the built-in
# token has `issues: write` scoped to this repo (the tracker is on GitHub).
# Explicit `github.token` — the built-in GITHUB_TOKEN env is not guaranteed
# on every event path; passing it via the documented context is the robust form
# (same as agent-pr-ready-automerge.yml).
GITHUB_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v5