Skip to content

Force GitHub status reporting if Reviewable status is required #1196

Description

@pkaminski

Currently it's possible for the github-status-updates repo setting to be set to accessed (the default) or never, even though code-review/reviewable is set as a required status under GitHub branch protections. This can cause confusion as Reviewable may not report its status in a timely fashion, leaving an "expected — waiting for status to be reported" placeholder in the PR.

Proposed design:

Whenever we sync branch protection settings for the default branch we set a "status update override" flag for the repo (or clear it, as the case may be). We then use this flag to override the setting when computing completion if needed, and also use it to display the override in the repo settings UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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