Skip to content

Conversation

@Danielpeter-99
Copy link
Contributor

@Danielpeter-99 Danielpeter-99 commented May 30, 2025

Proposing general code of conduct for open source repository

Summary by Sourcery

Add a Contributor Covenant Code of Conduct file to establish community behavior standards, enforcement procedures, and reporting guidelines.

Documentation:

  • Introduce CODE_OF_CONDUCT.md outlining positive and unacceptable behaviors, enforcement responsibilities, scope of applicability, and reporting contact.
  • Include detailed enforcement guidelines with corrective steps ranging from warnings to permanent bans based on violation severity.

Proposing general code of conduct for open source repository
@sourcery-ai
Copy link

sourcery-ai bot commented May 30, 2025

Reviewer's Guide

Introduction of a formal Contributor Covenant Code of Conduct to govern community interactions, enforcement, and reporting procedures.

Flow diagram for Code of Conduct Enforcement Process

graph TD
    A[Incident Reported to community leaders] --> B{Review & Investigation};
    B --> C{Violation of Code of Conduct?};
    C -- Yes --> D{Assess Community Impact};
    D --> E[Impact: Correction Level];
    E --> F[Consequence: Private, Written Warning +/- Public Apology Request];
    D --> G[Impact: Warning Level];
    G --> H[Consequence: Warning with consequences for continued behavior, specified period of no interaction];
    D --> I[Impact: Temporary Ban Level];
    I --> J[Consequence: Temporary Ban from community interaction for a specified period];
    D --> K[Impact: Permanent Ban Level];
    K --> L[Consequence: Permanent Ban from public community interaction];
    C -- No --> M[No Action/Dismissal];
Loading

File-Level Changes

Change Details Files
Added a comprehensive Code of Conduct document.
  • Defined a pledge promoting an open, welcoming, diverse, and harassment-free community
  • Outlined positive and unacceptable behaviors under community standards
  • Specified enforcement responsibilities and reporting contact
  • Established scope of applicability for official and public representations
  • Detailed a four-step enforcement ladder: Correction, Warning, Temporary Ban, Permanent Ban
  • Included attribution and links to the original Contributor Covenant and additional resources
CODE_OF_CONDUCT.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @Danielpeter-99 - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment on lines +108 to +110
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
Copy link

Choose a reason for hiding this comment

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

issue (typo): Typo: Extra space found.

Remove the extra space after 'behavior,' before 'harassment'.

Suggested change
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

@DavidsonGomes DavidsonGomes changed the base branch from main to develop May 31, 2025 14:29
@DavidsonGomes DavidsonGomes merged commit b918ffd into EvolutionAPI:develop May 31, 2025
3 checks passed
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