-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add org filter to webhook. #476
Conversation
Might be missing something here, but let's say the web hook doesn't stop the config from being merged. What in this PR is stopping the app from handing out the token anyways to a non-specified org? |
Great question! It doesn't 😅 This is not related to #469. The webhook is currently disabled on webhook.octo-sts.dev because of #288. |
We need to test out behavior in the webhook, but we're not 100% confident it's working as intended as is. This adds a configurable filter to enable selective responses to certain orgs. For now, have the default deployment only look at octo-sts and chainguard-dev orgs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit comment, lgtm
thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool
We need to test out behavior in the webhook, but we're not 100% confident it's working as intended as is. This adds a configurable filter to enable selective responses to certain orgs.
For now, have the default deployment only look at octo-sts and chainguard-dev orgs.