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

Configure Sweep #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Configure Sweep #1

wants to merge 3 commits into from

Conversation

sweep-ai[bot]
Copy link

@sweep-ai sweep-ai bot commented Dec 15, 2023

🎉 Thank you for installing Sweep! We're thrilled to announce the latest update for Sweep, your AI junior developer on GitHub. This PR creates a sweep.yaml config file, allowing you to personalize Sweep's performance according to your project requirements.

What's new?

  • Sweep is now configurable.
  • To configure Sweep, simply edit the sweep.yaml file in the root of your repository.
  • If you need help, check out the Sweep Default Config or Join Our Discord for help.

If you would like me to stop creating this PR, go to issues and say "Sweep: create an empty sweep.yaml file".
Thank you for using Sweep! 🧹

@sweep-ai sweep-ai bot added the sweep label Dec 15, 2023
Copy link

stackblitz bot commented Dec 15, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

restack-app bot commented Dec 15, 2023

No applications have been configured for previews targeting branch: main. To do so go to restack console and configure your applications for previews.

Copy link

codeautopilot bot commented Dec 15, 2023

PR summary

The Pull Request introduces a configuration file (sweep.yaml) for Sweep, an AI-powered junior developer tool on GitHub. The sweep.yaml file allows users to customize how Sweep operates within their project. The PR also adds a GitHub issue template (sweep-template.yml) to streamline the process of reporting bugs, requesting features, or suggesting refactors and tests for Sweep to handle.

The sweep.yaml file includes settings for:

  • Rules that Sweep should enforce in new commits.
  • The branch to which Sweep will make pull requests.
  • Whether Sweep should use GitHub Actions logs.
  • A project description for context in PRs.
  • Whether PRs should be created as drafts.
  • Directories that Sweep should not edit.
  • Documentation links to help Sweep understand the project's code.

Suggestion

The PR seems well-structured and the sweep.yaml file is comprehensive. However, it would be beneficial to provide an example project description in the description field of the sweep.yaml file to guide users on how to effectively describe their project for Sweep's understanding.

Additionally, it might be helpful to include comments in the blocked_dirs and docs sections to explain how users can specify directories to block and documentation links, respectively, as these sections are currently empty and may not be self-explanatory for all users.

Disclaimer: This comment was entirely generated using AI. Be aware that the information provided may be incorrect.

Current plan usage: 21.11%

Have feedback or need help?
Discord
Documentation
[email protected]

Copy link
Author

sweep-ai bot commented Dec 15, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

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.

0 participants