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: filtering out contributions created by bots #583

Merged
merged 2 commits into from
Jan 1, 2024

Conversation

ZibanPirate
Copy link
Member

@ZibanPirate ZibanPirate commented Jan 1, 2024

/Contribute page is spammed with cards that are created by bots.

  • added createdBy to Contribution model, that reference an Account Model
  • we use it, to filter out bot users, when calling contributionRepository.find

test:

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (changes that require a fresh clone of the repo)
  • I'm not sure

@ZibanPirate ZibanPirate self-assigned this Jan 1, 2024
@github-actions github-actions bot added the fix label Jan 1, 2024
@ZibanPirate ZibanPirate requested a review from a team January 1, 2024 16:09
@ZibanPirate ZibanPirate merged commit dc8530d into main Jan 1, 2024
@ZibanPirate ZibanPirate deleted the fix/filterout-contributions-created-by-bots branch January 1, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

2 participants