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 #11

Merged
merged 3 commits into from
Oct 12, 2023
Merged

Configure Sweep #11

merged 3 commits into from
Oct 12, 2023

Conversation

sweep-ai[bot]
Copy link

@sweep-ai sweep-ai bot commented Oct 12, 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 Oct 12, 2023
@ubiquity-os-0x4007
Copy link

- main action uncaught error
{
  "action": "validateConfigChange",
  "error": {
    "message": "Cannot read properties of undefined (reading 'startsWith')",
    "name": "TypeError",
    "stack": [
      "TypeError: Cannot read properties of undefined (reading 'startsWith')",
      "    at validateConfigChange (/Users/nv/repos/pavlovcik/ubiquibot/src/handlers/push/index.ts:60:20)",
      "    at bindEvents (/Users/nv/repos/pavlovcik/ubiquibot/src/bindings/event.ts:94:32)",
      "    at async Promise.all (index 0)",
      "    at middleware (/Users/nv/repos/pavlovcik/ubiquibot/node_modules/@octokit/webhooks/dist-src/middleware/node/middleware.js:51:9)"
    ]
  }
}

@sweep-ai
Copy link
Author

sweep-ai bot commented Oct 12, 2023

Apply Sweep Rules to your PR?

  • Apply: Leftover TODOs in the code should be handled.
  • Apply: All new business logic should have corresponding unit tests in the tests/ directory.
  • Apply: Any clearly inefficient or repeated code should be optimized or refactored.

@ubiquity-os-0x4007
Copy link

- main action uncaught error
{
  "action": "runOnPush",
  "error": {
    "message": "commits is not iterable",
    "name": "TypeError",
    "stack": [
      "TypeError: commits is not iterable",
      "    at getCommitChanges (/Users/nv/repos/pavlovcik/ubiquibot/src/handlers/push/index.ts:14:24)",
      "    at runOnPush (/Users/nv/repos/pavlovcik/ubiquibot/src/handlers/push/index.ts:38:19)",
      "    at bindEvents (/Users/nv/repos/pavlovcik/ubiquibot/src/bindings/event.ts:94:32)",
      "    at async Promise.all (index 0)",
      "    at middleware (/Users/nv/repos/pavlovcik/ubiquibot/node_modules/@octokit/webhooks/dist-src/middleware/node/middleware.js:51:9)"
    ]
  }
}

@ubiquity-os-0x4007
Copy link

- main action uncaught error
{
  "action": "validateConfigChange",
  "error": {
    "message": "Cannot read properties of undefined (reading 'startsWith')",
    "name": "TypeError",
    "stack": [
      "TypeError: Cannot read properties of undefined (reading 'startsWith')",
      "    at validateConfigChange (/Users/nv/repos/pavlovcik/ubiquibot/src/handlers/push/index.ts:60:20)",
      "    at bindEvents (/Users/nv/repos/pavlovcik/ubiquibot/src/bindings/event.ts:94:32)",
      "    at async Promise.all (index 0)",
      "    at middleware (/Users/nv/repos/pavlovcik/ubiquibot/node_modules/@octokit/webhooks/dist-src/middleware/node/middleware.js:51:9)"
    ]
  }
}

@ubiquity-os-0x4007
Copy link

- main action uncaught error
{
  "action": "runOnPush",
  "error": {
    "message": "commits is not iterable",
    "name": "TypeError",
    "stack": [
      "TypeError: commits is not iterable",
      "    at getCommitChanges (/Users/nv/repos/pavlovcik/ubiquibot/src/handlers/push/index.ts:14:24)",
      "    at runOnPush (/Users/nv/repos/pavlovcik/ubiquibot/src/handlers/push/index.ts:38:19)",
      "    at bindEvents (/Users/nv/repos/pavlovcik/ubiquibot/src/bindings/event.ts:94:32)",
      "    at async Promise.all (index 0)",
      "    at middleware (/Users/nv/repos/pavlovcik/ubiquibot/node_modules/@octokit/webhooks/dist-src/middleware/node/middleware.js:51:9)"
    ]
  }
}

@sweep-ai sweep-ai bot mentioned this pull request Oct 12, 2023
3 tasks
@0x4007 0x4007 merged commit 7a27362 into development Oct 12, 2023
4 of 5 checks passed
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