Skip to content

Skip the Horizon and RPC integration tests on the private repo - #5433

Merged
sisuresh merged 1 commit into
stellar:masterfrom
sisuresh:skip-integration-tests-private
Aug 28, 2026
Merged

sisuresh merged 1 commit into
stellar:masterfrom
sisuresh:skip-integration-tests-private

Conversation

@sisuresh

Copy link
Copy Markdown
Contributor

Gate the Horizon and RPC integration test workflows on repository visibility, matching what build.yml already does, so they only run on the public repo.

On stellar-core-internal these jobs pass core_git_ref: ${{ github.sha }} to reusable workflows that clone core from public stellar/stellar-core, so the PR merge commit isn't fetchable and the job dies before building.

Both workflows call a reusable workflow in another repo and pass
core_git_ref: ${{ github.sha }}, which on a pull_request is the PR merge
commit. Those workflows clone core from the public stellar/stellar-core, so
a merge commit that only exists in stellar-core-internal fails with
"upload-pack: not our ref" and the job dies before it builds anything.

Gates both on repository visibility, matching what build.yml already does,
so they run on the public repo and are skipped here.
Copilot AI balanced review requested due to automatic review settings August 28, 2026 17:55
@sisuresh
sisuresh requested a review from dmkozh August 28, 2026 17:56
@sisuresh
sisuresh enabled auto-merge August 28, 2026 17:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Gates Horizon and RPC integration tests to skip private repositories, matching existing CI behavior.

Changes:

  • Added repository-visibility conditions to both integration-test jobs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/rpc.yml Skips RPC integration tests on private repositories.
.github/workflows/horizon.yml Skips Horizon integration tests on private repositories.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@sisuresh
sisuresh added this pull request to the merge queue Aug 28, 2026
Merged via the queue into stellar:master with commit 0752b51 Aug 28, 2026
69 of 70 checks passed
@sisuresh
sisuresh deleted the skip-integration-tests-private branch August 28, 2026 20:03
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.

3 participants