You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
Since v0.19.3 release and the merge of this PR #2147 (with this modification:
err:=errors.Errorf("Pull request event from non-allowlisted repo \"%s/%s\"", baseRepo.VCSHost.Hostname, baseRepo.FullName)
), we've now error when a pull request comes from a non-allowlisted repo github, even if we use --silence-allowlist-errors flag.
This is spam our logs & monitoring with false errors and doesn't help for alerting.
I think if we want to skip the comment in the PR from non-allowlisted repo with --silence-allowlist-errors flag, we don't want the error too (like before).
Reproduction Steps
Setup atlantis to only allow one repository: --repo-allowlist='github.com/org/terraform'
Setup atlantis to silence allowlist errors: --silence-allowlist-errors=true
On Github side, setup atlantis app (webhook) to access All repositories
Community Note
Overview of the Issue
Since v0.19.3 release and the merge of this PR #2147 (with this modification:
atlantis/server/controllers/events/events_controller.go
Line 423 in 24a0d7c
--silence-allowlist-errors
flag.This is spam our logs & monitoring with false errors and doesn't help for alerting.
I think if we want to skip the comment in the PR from non-allowlisted repo with
--silence-allowlist-errors
flag, we don't want the error too (like before).Reproduction Steps
Setup atlantis to only allow one repository:
--repo-allowlist='github.com/org/terraform'
Setup atlantis to silence allowlist errors:
--silence-allowlist-errors=true
On Github side, setup atlantis app (webhook) to access All repositories
Logs
Environment details
Atlantis server-side config file:
The text was updated successfully, but these errors were encountered: