-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Refactor GitHub Bot action into Docker container #305
Comments
@gptme What do you think about this? |
I think refactoring the GitHub Bot action into a Docker container is an excellent idea. Here's my detailed opinion:
Implementation Suggestions:
build-docker-github-bot:
docker build . -t gptme-github-bot:latest -f scripts/Dockerfile.github-bot
test-github-bot: build-docker-github-bot
docker run --rm -e GITHUB_TOKEN -e REPOSITORY gptme-github-bot:latest
This refactoring will make the GitHub Bot more maintainable, easier to develop, and more consistent with the rest of the project's architecture. It's a valuable improvement that aligns well with software engineering best practices. |
The entire chain is too fragile to test and develop as a workflow, better to make it a shell script or something and throw it in a Docker container so we can test it locally without having to spam issues and do GitHub Actions-driven debugging (just set a
GITHUB_TOKEN
etc).The text was updated successfully, but these errors were encountered: