Skip to content

ci: add required_status_check.yml aggregator gate#1

Merged
tamirms merged 2 commits into
mainfrom
add-required-status-check
Jun 3, 2026
Merged

ci: add required_status_check.yml aggregator gate#1
tamirms merged 2 commits into
mainfrom
add-required-status-check

Conversation

@tamirms

@tamirms tamirms commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Adds .github/workflows/required_status_check.yml — an aggregator "gate" workflow that emits a single status check named complete which mirrors the PR CI workflow's conclusion.

This lets the org branch ruleset require one stable context (complete) instead of the individual CI job names, which otherwise shift (streamhash's CI has a matrix test job). Standard org convention (used by stellar-rpc, go-stellar-sdk, et al.).

  • Job id is complete → produces the status-check context literally named complete.
  • filter-workflow-names: CI only — waits on ci.yml (name: CI, runs on pull_request). race-stress.yml (name: Race Stress) runs on push, not PRs, so it is deliberately excluded (otherwise complete would wait forever).

Required by stellar/terraform#6140 — that PR must not merge until this workflow exists and reports green here.

🤖 Generated with Claude Code

Emit a single `complete` status check that mirrors the PR CI workflow's
conclusion, so the org branch ruleset can require one stable context
instead of individual (matrix) CI job names. Waits only on the "CI"
workflow (ci.yml); Race Stress runs on push, not pull_request, so it is
deliberately excluded from the filter.

Required by stellar/terraform#6140.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 3, 2026 12:32
Comment thread .github/workflows/required_status_check.yml Fixed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a new GitHub Actions workflow intended to act as an aggregator “gate” for PR CI by waiting for the CI workflow to finish and surfacing a single required check.

Changes:

  • Added .github/workflows/required_status_check.yml workflow triggered on pull_request.
  • Introduced a complete job that uses int128/wait-for-workflows-action to wait for the CI workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/required_status_check.yml
Comment thread .github/workflows/required_status_check.yml
Address the Copilot/CodeQL review on PR #1: replace the org-default
token with a least-privilege read-only set (contents/actions/checks:
read — actions:read is what wait-for-workflows-action needs to query
runs) and add a concurrency group so force-pushes cancel superseded
`complete` jobs instead of leaving them polling. Job id `complete` and
the CI-only filter are unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tamirms tamirms merged commit 6a50db9 into main Jun 3, 2026
11 checks passed
@tamirms tamirms deleted the add-required-status-check branch June 3, 2026 12:49
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