Thank you for considering contributing to the Warestack Workflow Copilot Action! This repository focuses on automating log analysis, error identification, and patch suggestion within GitHub workflows. Whether you're improving the action, fixing bugs, or enhancing documentation, your contributions are highly valued.
We welcome various types of contributions, including:
- Enhancements to the log analysis and patch generation algorithms.
- Updates to existing functionalities to cover more scenarios or provide more stability.
- Documentation improvements to clarify usage and setup.
- Bug fixes related to action execution or result handling.
- Typo and grammar corrections in the documentation.
To ensure a smooth contribution process, please follow these steps:
- Fork the Repository: Fork the repository to your GitHub account.
- Clone Locally: Clone the forked repository to your local machine.
- Create a New Branch: Branch off from the
main
branch using a descriptive name for your changes. - Make Changes: Implement your changes, adhering to the coding standards and architectural patterns used in the project.
- Commit Changes: Commit your changes using clear, concise commit messages that follow the guidelines below.
- Push Changes: Push your changes to your fork on GitHub.
- Open a Pull Request: Submit a pull request from your fork back to the original repository. Describe your changes and their impact.
- Code Quality: Contributions should be well-written and maintainable. Ensure your code is clean and well-documented.
- Testing: Test your changes thoroughly to ensure they work as expected and do not negatively impact existing functionalities.
- Modular PRs: Keep your pull requests focused and modular to facilitate easier review and integration.
- Review Process: All pull requests require at least one review from the maintainers before merging.
Use the following prefixes for branch names to indicate the purpose of the changes:
feature/
: New features or enhancements.bugfix/
: Bug fixes.docs/
: Documentation updates.refactor/
: Refactoring existing code.test/
: Adding or updating tests.chore/
: Routine tasks such as dependency updates.
- Present Tense: Write commit messages in present tense ("Add feature" not "Added feature").
- Imperative Mood: Write in imperative mood ("Change code" not "Changes in code").
- Descriptive: Clearly describe the changes made, why they were necessary, and their impact.
Examples:
Add error parsing logic to enhance detection
Fix memory leak in log processing
Update README to include setup instructions
We use GitHub Actions to automatically check all pull requests:
- Linting: Ensures code style consistency.
- Unit Tests: Validates that new changes pass all existing and new tests.
- Integration Tests: Checks that the action works as expected in an integrated environment.
If you have questions or need assistance, please reach out through:
- GitHub Issues for detailed discussions or to report a problem.
- Our Discord channel for live discussions and community support.
Participation in this project is governed by a Code of Conduct. By participating, you are expected to uphold this code and ensure a respectful and constructive environment for everyone.
Thank you for contributing to the Warestack Workflow Copilot Action!