[PR #4820] nix: fix workflow failing on PRs #11132

Closed
opened 2026-02-16 18:15:55 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4820

State: closed
Merged: Yes


Add extra guard so the update job only runs on upstream branches/PRs. git checkout now targets the PR head repo, preventing forked PR branches from failing to clone.

Image showing the original issue:

image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4820 **State:** closed **Merged:** Yes --- Add extra guard so the `update` job only runs on upstream branches/PRs. git checkout now targets the PR head repo, preventing forked PR branches from failing to clone. Image showing the original issue: <img width="1160" height="907" alt="image" src="https://github.com/user-attachments/assets/da72ee83-ff7b-428b-ae58-d38ede8e4e52" />
yindo added the pull-request label 2026-02-16 18:15:55 -05:00
yindo closed this issue 2026-02-16 18:15:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11132