Skip to content

close-issues workflow targets upstream repo in fork #236

@nicko-ai

Description

@nicko-ai

The scheduled close-issues workflow in VRSEN/agentswarm-cli fails because the script targets the upstream repo instead of the fork repo.

Evidence:

  • Recent failed run: https://github.com/VRSEN/agentswarm-cli/actions/runs/26380910844
  • .github/workflows/close-issues.yml runs script/github/close-issues.ts with the fork repo token.
  • script/github/close-issues.ts hard-codes anomalyco/opencode, so the fork token does not have permission to comment on or close those issues.

Expected behavior:

  • In GitHub Actions, the stale-issue script should target GITHUB_REPOSITORY.
  • Local fallback behavior should target VRSEN/agentswarm-cli when GITHUB_REPOSITORY is absent, not upstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions