Skip to content
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

fix: include no GitHub allowlist rules by default #1973

Merged

Conversation

paulerickson
Copy link
Contributor

There shouldn't be any GitHub team allowlist rules by default, since the feature and team API integration doesn't make sense for everybody. With no rules to enforce, no API call is made, so this should resolve #1967

More generally, the way of defaulting flags when the value is "" seems dubious, and should instead depend on the presence of the flag itself. However, that behavior isn't specific to this flag and is made moot with this change.

@paulerickson paulerickson requested a review from a team as a code owner January 4, 2022 18:23
@jamengual jamengual merged commit 1f44d2f into runatlantis:master Jan 4, 2022
@paulerickson paulerickson deleted the gh-allowlist-off-by-default branch January 4, 2022 18:30
@edbighead
Copy link
Contributor

please release 🙏🏻

@chenrui333 chenrui333 changed the title Include no GitHub allowlist rules by default fix: include no GitHub allowlist rules by default Jan 5, 2022
@jamengual
Copy link
Contributor

it has been released.

krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
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.

v0.18.0 github events fail with teams api permisison error
3 participants