Restructure repository into modular GitHub Actions #2
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.
🎯 Overview
This PR restructures the OpenHands GitHub Action repository into a clean, modular architecture with three independent GitHub Actions, removing redundant files and providing maximum flexibility for users.
🔄 Changes Made
✅ Repository Restructuring
action.ymlandscripts/directory for cleaner structurecreate-conversation/: Creates conversations and returns ID/URL immediatelypoll-conversation/: Polls conversations and downloads trajectoriesextract-message/: Extracts last agent message from trajectory files✅ Enhanced Functionality
extract_last_message.pyto work as both CLI utility and GitHub Action✅ Documentation & Testing
📁 New Repository Structure
🚀 Available Actions
All-Hands-AI/openhands-github-action/create-conversation@v2All-Hands-AI/openhands-github-action/poll-conversation@v2All-Hands-AI/openhands-github-action/extract-message@v2💡 Usage Example
✅ Benefits
🧪 Testing
📋 Breaking Changes
action.yml- users must now use specific action pathsscripts/directory - functionality moved to action subdirectoriesThis restructuring provides a much cleaner, more maintainable codebase while giving users maximum flexibility to use exactly the functionality they need.
@xingyaoww can click here to continue refining the PR