Skip to content

feat: Add Factory GitHub workflows#27

Closed
haseeb-heaven wants to merge 2 commits into
mainfrom
add-factory-workflows-1775513558969
Closed

feat: Add Factory GitHub workflows#27
haseeb-heaven wants to merge 2 commits into
mainfrom
add-factory-workflows-1775513558969

Conversation

@haseeb-heaven

Copy link
Copy Markdown
Owner

🤖 Add Factory GitHub Workflows

This PR adds GitHub Actions workflows to integrate with Factory AI's assistant.

Workflows Added:

  • @droid: Tag @droid in issues and PR comments
  • Droid Review: Automated code review on new PRs

Next Steps:

  1. Review the workflow files
  2. Add the FACTORY_API_KEY secret to your repository:
    • Go to Settings → Secrets and variables → Actions
    • Click "New repository secret"
    • Name: FACTORY_API_KEY
    • Generate your API key at Factory AI Settings
  3. Merge this PR

Usage:

For more information, see the Factory AI documentation.

@coderabbitai

coderabbitai Bot commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@haseeb-heaven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 22 minutes and 3 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 22 minutes and 3 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a128754a-95d7-4d1a-9755-a51358aa0752

📥 Commits

Reviewing files that changed from the base of the PR and between c40b709 and 004f2a6.

📒 Files selected for processing (2)
  • .github/workflows/droid-review.yml
  • .github/workflows/droid.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-factory-workflows-1775513558969

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@factory-droid

factory-droid Bot commented Apr 6, 2026

Copy link
Copy Markdown

Droid encountered an error —— View job


@factory-droid

factory-droid Bot commented Apr 6, 2026

Copy link
Copy Markdown

Droid encountered an error —— View job


@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 004f2a6a5f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


jobs:
droid-review:
if: github.event.pull_request.draft == false

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Gate auto-review to trusted pull request authors

This job runs for every non-draft PR but only checks draft == false, so it also executes for contributor/fork PRs where Droid cannot safely operate with default settings. Factory-AI/droid-action@v3 enforces write-permission checks for the triggering actor and requires a Factory API key; for external contributors (and fork-based PRs where repo secrets are not exposed), the run fails and leaves a red check on otherwise valid PRs. Add an if guard to skip untrusted/fork PRs (or use a separate safe workflow path) so normal community PRs are not blocked by this automation.

Useful? React with 👍 / 👎.

@haseeb-heaven haseeb-heaven deleted the add-factory-workflows-1775513558969 branch April 7, 2026 11:54
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.

1 participant