Skip to content

docs(rules): complete opencode trust-boundary notes - #3828

Merged
dyoshikawa merged 1 commit into
mainfrom
resolve-issue-3824-opencode-trust-notes
Nov 12, 2026
Merged

dyoshikawa merged 1 commit into
mainfrom
resolve-issue-3824-opencode-trust-notes

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Completes the opencode trust-boundary notes in .rulesync/rules/github-actions-security.md (items 2–4 of #3824):

  • Mention that newer 1.x tags and early v2 tags still ship github/action.yml with the mutable actions/cache@v4 ref, and that later v2 removed the action entirely (Remove the OpenCode GitHub Action anomalyco/opencode#59032, merged 2026-10-25; absent in v2.2.7), so bumping to a newer tag is not an option.
  • Add the CLI binary restored from the Actions cache on a cache hit to the code that receives secrets. The installer only runs on a cache miss (if: steps.cache.outputs.cache-hit != 'true').
  • Note that the OIDC request variables (ACTIONS_ID_TOKEN_REQUEST_*) are visible to every step in the job, not just the composite action.

Facts checked against the pinned action source (17b79f4e…/github/action.yml) and the upstream tags (v1.19.5 and v2.0.0 use actions/cache@v4; v2.2.7 has no github/action.yml).

Item 1 (workflow and Dependabot comments) is handled in a separate PR, because it edits workflow files.

Refs #3824

🤖 Generated with Claude Code

https://claude.ai/code/session_01QUBBebviXSBQtiRAmDopZ7

Mention that later opencode v2 removed the GitHub Action, add the
CLI binary restored from the Actions cache to the code that receives
secrets, and note that the OIDC request variables are visible to every
step in the job.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QUBBebviXSBQtiRAmDopZ7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant