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

Disable routing/triaging for external collaborators #546

Merged

Conversation

hubertdeng123
Copy link
Member

Issues keep showing up in 401 dashboard that are created by contractors, this PR disables routing/triaging for them

Example:
getsentry/sentry-dotnet#2501

sender?: string,
state?: string
) {
function makePayload({ repo, label, sender, state, author_association }) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was becoming overloaded with args, so using an object here instead since it's cleaner and easier to keep track of

@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.51% ⚠️

Comparison is base (1dc70ea) 85.18% compared to head (b7cc5de) 84.68%.

❗ Current head b7cc5de differs from pull request most recent head 71305aa. Consider uploading reports for the commit 71305aa to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #546      +/-   ##
==========================================
- Coverage   85.18%   84.68%   -0.51%     
==========================================
  Files          98      101       +3     
  Lines        2450     2520      +70     
  Branches      480      482       +2     
==========================================
+ Hits         2087     2134      +47     
- Misses        357      379      +22     
- Partials        6        7       +1     
Files Changed Coverage Δ
src/brain/issueLabelHandler/followups.ts 100.00% <100.00%> (ø)
src/brain/issueLabelHandler/route.ts 97.43% <100.00%> (+0.29%) ⬆️
src/brain/issueLabelHandler/triage.ts 97.87% <100.00%> (-2.13%) ⬇️
src/utils/isFromOutsideCollaborator.ts 100.00% <100.00%> (ø)

... and 23 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hubertdeng123 hubertdeng123 requested a review from a team July 25, 2023 01:30
@hubertdeng123 hubertdeng123 enabled auto-merge (squash) July 27, 2023 19:21
@hubertdeng123 hubertdeng123 merged commit bd3931c into main Jul 27, 2023
5 checks passed
@hubertdeng123 hubertdeng123 deleted the hubertdeng123/disable-routing-triage-external-collaborator branch July 27, 2023 19:23
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.

2 participants