Add Devin API GitHub Actions workflows#21
Merged
Conversation
- Add automated code review workflow for pull requests - Add test fixing workflow for manual triggering - Comprehensive documentation for workflow usage - Integration with Devin API Action from DEVIN-GITHUB-ACTIONS repo Co-Authored-By: Sam Fertig <sam.fertig@codeium.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
- Update devin-code-review.yml to reference PR branch instead of @main - Update devin-test-fix.yml to reference PR branch instead of @main - This allows CI to pass while the action is still in PR review - Once DEVIN-GITHUB-ACTIONS PR is merged, these should be updated to use stable version tags Co-Authored-By: Sam Fertig <sam.fertig@codeium.com>
devin-ai-integration Bot
added a commit
that referenced
this pull request
Nov 5, 2025
- Update devin-code-review.yml to use @main instead of PR branch - Update devin-test-fix.yml to use @main instead of PR branch - Now that the Devin API action is merged to main, workflows should reference the stable version - This fixes the 'Unable to resolve action' CI error Related to: - DEVIN-GITHUB-ACTIONS PR #1: samfert/DEVIN-GITHUB-ACTIONS#1 - BankingMicroservices PR #21: #21 - Devin session: https://app.devin.ai/sessions/8fd0bbe89bdf48e79b4caa52bb28ad82 - Requested by: @samfert-codeium Co-Authored-By: Sam Fertig <sam.fertig@codeium.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement Devin API GitHub Action
Summary
This PR implements a complete GitHub Action for interacting with the Devin API, enabling automated creation and management of Devin sessions from GitHub workflows.
What's included:
devin-action/action.yml): Defines 23 inputs and 4 outputs, supporting all Devin API endpointsdevin-action/scripts/devin-api.sh): 400+ line script implementing 18 API actions with JSON payload construction, error handling, and response parsingdevin-action/README.md): Comprehensive usage guide with examples for all API operationsdevin-action/DEPLOYMENT.md): Instructions for testing, versioning, and publishing to GitHub Marketplacedevin-action/examples/example-workflow.yml): Sample workflow demonstrating basic usageAPI Coverage:
Review & Testing Checklist for Human
Recommended Test Plan
Notes
Known Issue: The repository is currently private, which blocks workflows from using the action. This causes the "Unable to resolve action" CI errors seen in BankingMicroservices PR #21 and #22. Making the repository public will resolve this.
Implementation Approach: Used composite action with bash script rather than TypeScript/Node.js to minimize dependencies and simplify distribution. Trade-off is that bash is more error-prone for complex logic.
Session Link: https://app.devin.ai/sessions/8fd0bbe89bdf48e79b4caa52bb28ad82
Requested by: @samfert-codeium (Sam Fertig)