Skip to content

Reject stacks for unconfigured GitHub organisations - #1511

Open
efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/reject-unknown-github-organizations
Open

efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/reject-unknown-github-organizations

Conversation

@efegokdemir

Copy link
Copy Markdown

Reject repository owners without a configured GitHub App before a stack is saved, preventing its post-commit GitHub sync from failing later. Organisation matching is case-insensitive, and the legacy single-app configuration still accepts any owner. Closes #1437. Added tests cover unknown and configured organisations, case-insensitive matching, legacy configuration and stack creation. The project test suite could not run because the locked gems are unavailable; an isolated model check, Ruby syntax checks and git diff --check passed.

This branch has not been deployed

No deployments
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.

Adding stack from unknown github org should fail

1 participant