Thank you for your interest in contributing to Ace-Step Action! This document provides guidelines and instructions for contributing.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/acestep-action.git - Create a new branch:
git checkout -b feature/your-feature-name
- Docker (for building and testing the action)
- Python 3.10+
- Git
-
Make your changes to the code
-
Test locally using Docker:
docker build -t acestep-action . docker run -e INPUT_TEXT="Test message" acestep-action
-
Run Python syntax checks:
python3 -m py_compile src/main.py
- Follow PEP 8 style guidelines for Python code
- Use meaningful variable and function names
- Add docstrings to functions and classes
- Keep functions focused and concise
- Test your changes locally before submitting
- Ensure the Docker image builds successfully
- Verify the action works with the test workflow
- Commit your changes with clear, descriptive commit messages
- Push to your fork
- Create a Pull Request with:
- A clear title describing the change
- A detailed description of what changed and why
- Any relevant issue numbers
- Keep PRs focused on a single feature or fix
- Include tests if adding new functionality
- Update documentation as needed
- Ensure all checks pass
When reporting issues, please include:
- A clear description of the issue
- Steps to reproduce
- Expected vs actual behavior
- Your environment (OS, GitHub Actions runner, etc.)
- Relevant logs or error messages
Feel free to open an issue for questions or discussions about contributing.
Be respectful and constructive in all interactions. We're all here to make this project better.