Skip to content

Validation check hangs if multiple suborgs matched repositories #790

@grossag

Description

@grossag

Problem Description

What is actually happening

During app validation, if the new logic in a692dbf catches a match for multiple suborgs, the check is not correctly failed.

What is the expected behavior

  • The check fails with the appropriate error message.
  • Optionally, a PR comment is created

Error output, if available

2025-03-18T03:44:43.962000: ERROR (event): NOPCOMMAND {"type":"ERROR","plugin":"getSubOrgConfigs","repo":"safe-settings-config","endpoint":"","body":"","action":{"msg":"Error: Multiple suborg configs for devframework.bom-test-project in .github/suborgs/hcs-devfw.yml and .github/suborgs/hcs-devframework.yml","additions":null,"modifications":null,"deletions":null}}

Context

Are you using the hosted instance of probot/settings or running your own?

Running our own

If running your own instance, are you using it with github.com or GitHub Enterprise?

github.com

Version of probot/settings

I believe we are on 2.1.16, but I'm not 100% sure.

Version of GitHub Enterprise

N/A (on GitHub Enterprise Cloud)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions