We welcome contributions to the 4CTF project! To ensure a smooth process for everyone, please follow the guidelines below.
By participating in this project, you agree to abide by our Code of Conduct. Be respectful and collaborative!
- Search for existing issues before submitting a new one.
- Provide detailed steps to reproduce the bug, your environment, and any relevant logs.
- Open an issue with a clear and descriptive title.
- Explain the problem and how the feature would address it.
- Fork the repository and clone your fork.
- Create a new branch from
develop
. - Make your changes.
- Open a pull request (PR) targeting the
develop
branch.
- Target Branch: All PRs must point to the
develop
branch. Changes are merged intomain
only for releases. - Branch Naming: Use descriptive branch names, e.g.,
feature/add-something
orbugfix/fix-issue
. - Description: Include a clear description of your changes and link to related issues if applicable.
- Tests: Ensure your code is covered by tests if possible.
- Review Process: Wait for at least one approval from a maintainer before merging.
We follow the Conventional Commits specification. Please structure your commit messages as follows:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
feat(api): add endpoint for user registration
fix(ui): resolve button alignment issue on mobile
docs(readme): update contributing section
feat
: A new featurefix
: A bug fixdocs
: Documentation changesstyle
: Code style changes (formatting, no code logic changes)refactor
: Code refactoring (neither fixes a bug nor adds a feature)test
: Adding or updating testschore
: Maintenance tasks (e.g., updating dependencies)
Thank you for contributing to 4CTF! 🎉