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

ci(Mergify): configuration update #220

Closed
wants to merge 0 commits into from
Closed

Conversation

reisene
Copy link
Owner

@reisene reisene commented Jan 15, 2025

This change has been made by @reisene from the Mergify workflow automation editor.

Podsumowanie przez Sourcery

Dodaj etykietę do PR-ów ze stosu Mergify i usuń regułę priorytetu threattrix.

CI:

  • Oznacz pull requesty, które są częścią stosu Mergify.
  • Usuń regułę priorytetu threattrix.
Original summary in English

Summary by Sourcery

Add a label to Mergify stack PRs and remove the threattrix priority rule.

CI:

  • Label pull requests that are part of a Mergify stack.
  • Remove the threattrix priority rule.

Copy link

vercel bot commented Jan 15, 2025

Deployment failed with the following error:

Resource is limited - try again in 20 seconds (more than 100, code: "api-deployments-free-per-day").

Copy link
Contributor

aviator-app bot commented Jan 15, 2025

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR is currently in state closed (PR closed manually).

Change Sets


See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

Copy link
Contributor

aviator-app bot commented Jan 15, 2025

Aviator Changeset actions:

Copy link

Review changes with  SemanticDiff

Copy link

vercel bot commented Jan 15, 2025

Deployment failed with the following error:

Resource is limited - try again in 18 seconds (more than 100, code: "api-deployments-free-per-day").

Copy link

Please follow naming conventions! 😿

Copy link
Contributor

coderabbitai bot commented Jan 15, 2025

Important

Review skipped

Auto reviews are limited to specific labels.

🏷️ Labels to auto review (2)
  • depencies
  • dependencies

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@reisene reisene closed this Jan 15, 2025
@reisene reisene force-pushed the mergify/reisene/config-update branch from 68f903b to 91d737d Compare January 15, 2025 18:22
Copy link
Contributor

sourcery-ai bot commented Jan 15, 2025

Przewodnik Recenzenta przez Sourcery

Ten pull request aktualizuje konfigurację Mergify, aby oznaczyć pull requesty, które są częścią stosu Mergify, oraz usuwa regułę priorytetu dla threattrix.

Diagram przepływu zaktualizowanego przetwarzania PR Mergify

flowchart TD
    PR[Nowy Pull Request] --> CheckCommit{Sprawdź pierwszą\nwiadomość commit}
    CheckCommit -->|Zawiera 'Change-Id:'| AddLabel[Dodaj etykietę 'stack']
    CheckCommit -->|Brak 'Change-Id:'| SkipLabel[Kontynuuj bez\ndodawania etykiety]
    AddLabel --> AutoMergeCheck{Sprawdź warunki\nautomatycznego scalania}
    SkipLabel --> AutoMergeCheck
    AutoMergeCheck -->|Wszystkie warunki spełnione| MergeQueue[Dodaj do kolejki scalania]
    AutoMergeCheck -->|Warunki niespełnione| Wait[Poczekaj na spełnienie\nwarunków]
    MergeQueue --> ProcessMerge[Przetwórz scalanie z\nmaks. 5 równoległymi sprawdzeniami]
Loading

Zmiany na poziomie plików

Zmiana Szczegóły Pliki
Oznacz PR stosu Mergify
  • Dodano regułę oznaczania pull requestów etykietą stack, jeśli wiadomość commit zawiera Change-Id:
.mergify.yml
Usuń regułę priorytetu dla threattrix
  • Usunięto regułę priorytetu dla gałęzi trx
.mergify.yml

Porady i polecenia

Interakcja z Sourcery

  • Wywołaj nową recenzję: Skomentuj @sourcery-ai review w pull requeście.
  • Kontynuuj dyskusje: Odpowiedz bezpośrednio na komentarze recenzji Sourcery.
  • Wygeneruj issue GitHub z komentarza recenzji: Poproś Sourcery o utworzenie issue z komentarza recenzji, odpowiadając na niego.
  • Wygeneruj tytuł pull requesta: Napisz @sourcery-ai w dowolnym miejscu tytułu pull requesta, aby wygenerować tytuł w dowolnym momencie.
  • Wygeneruj podsumowanie pull requesta: Napisz @sourcery-ai summary w dowolnym miejscu treści pull requesta, aby wygenerować podsumowanie PR w dowolnym momencie. Możesz również użyć tego polecenia, aby określić, gdzie podsumowanie ma zostać wstawione.

Dostosowywanie Twojego doświadczenia

Uzyskaj dostęp do pulpitu nawigacyjnego, aby:

  • Włączyć lub wyłączyć funkcje recenzji, takie jak podsumowanie pull requesta generowane przez Sourcery, przewodnik recenzenta i inne.
  • Zmienić język recenzji.
  • Dodawać, usuwać lub edytować niestandardowe instrukcje recenzji.
  • Dostosować inne ustawienia recenzji.

Uzyskiwanie pomocy

Original review guide in English

Reviewer's Guide by Sourcery

This pull request updates the Mergify configuration to label pull requests that are part of a Mergify stack and removes the priority rule for threattrix.

Flow diagram of updated Mergify PR processing

flowchart TD
    PR[New Pull Request] --> CheckCommit{Check first commit\nmessage}
    CheckCommit -->|Contains 'Change-Id:'| AddLabel[Add 'stack' label]
    CheckCommit -->|No 'Change-Id:'| SkipLabel[Continue without\nadding label]
    AddLabel --> AutoMergeCheck{Check for\nautomerge conditions}
    SkipLabel --> AutoMergeCheck
    AutoMergeCheck -->|All conditions met| MergeQueue[Add to merge queue]
    AutoMergeCheck -->|Conditions not met| Wait[Wait for conditions\nto be met]
    MergeQueue --> ProcessMerge[Process merge with\nmax 5 parallel checks]
Loading

File-Level Changes

Change Details Files
Label Mergify Stacks PRs
  • Added a rule to label pull requests with the stack label if the commit message contains Change-Id:
.mergify.yml
Remove priority rule for threattrix
  • Removed the priority rule for the trx branch
.mergify.yml

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.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a 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. You can also use
    this command to specify where the summary should be inserted.

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
Contributor

aviator-app bot commented Jan 15, 2025

PR has been added to the changeset: 2: https://app.aviator.co/changeset/2

Copy link
Contributor

deepsource-io bot commented Jan 15, 2025

Here's the code health analysis summary for commits 91d737d..91d737d. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource PHP LogoPHP✅ SuccessView Check ↗
DeepSource Test coverage LogoTest coverage⚠️ Artifact not reportedTimed out: Artifact was never reportedView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link
Contributor

mergify bot commented Jan 15, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Do not merge outdated PRs

Wonderful, this rule succeeded.

Make sure PRs are almost up to date before merging

  • #commits-behind <= 10

Copy link
Contributor

@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.

Hej @reisene - Przejrzałem twoje zmiany i wyglądają świetnie!

Oto, co sprawdziłem podczas przeglądu
  • 🟢 Ogólne kwestie: wszystko wygląda dobrze
  • 🟢 Bezpieczeństwo: wszystko wygląda dobrze
  • 🟢 Testowanie: wszystko wygląda dobrze
  • 🟢 Złożoność: wszystko wygląda dobrze
  • 🟢 Dokumentacja: wszystko wygląda dobrze

Sourcery jest darmowe dla open source - jeśli podobają Ci się nasze recenzje, rozważ ich udostępnienie ✨
Pomóż mi być bardziej użytecznym! Proszę kliknij 👍 lub 👎 przy każdym komentarzu, a ja wykorzystam opinie, aby ulepszyć twoje recenzje.
Original comment in English

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

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: 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.

Copy link

Click here to review and test in web IDE: Contribute

Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Code review by ChatGPT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant