๐ค Contributing to QA Hub Actions
Building the industry standard for Enterprise Quality Orchestration.
Thank you for your interest in contributing to the QA Hub Actions ecosystem! ๐
[!IMPORTANT] We maintain a high standard of engineering excellence. To ensure consistency across our 19+ modules, we ask that all contributors follow these professional guidelines.
๐๏ธ Repository Structure
This is a monorepo containing multiple high-performance composite actions. Each action resides in its own dedicated directory:
qa-hub-actions/
โโโ setup-environment/ # Action: Setup Env ๐
โ โโโ action.yml # Logic & Metadata
โ โโโ README.md # Technical Documentation
โโโ run-tests/ # Action: Run Tests ๐งช
โโโ ...
๐ ๏ธ Development Workflow
- Fork & Clone: Fork the repository and clone it to your local environment.
- Branching: Create a focused feature branch:
git checkout -b feat/my-new-action. - Development:
- If modifying an existing action, edit its
action.yml. - If creating a new action, create a new folder and follow the Action Standard below.
- If modifying an existing action, edit its
- Documentation: Update the
README.mdwithin the action's folder (see Gold Standard). - Commitment: Use Conventional Commits:
feat: add new input to setup-environmentfix: resolve caching issue in run-testsdocs: update examples
- Pull Request: Submit a PR to
mainwith a clear description of the impact.
๐ Action Standard (Definition of Done)
Every action in this ecosystem must meet the following technical and aesthetic criteria:
1. Metadata (action.yml)
- Name: Clear, professional name (e.g., "Run QA Test Suite").
- Description: Concise summary starting with a relevant emoji.
- Branding: Must define
iconandcolor. - Preferred Colors:
blue,purple, orgreen. - Inputs: All inputs must have detailed descriptions and sensible defaults.
2. Documentation (README.md)
Must strictly follow the Gold Standard Template:
- Title: # [Icon] Action: [Name]
- Hero: One-line value proposition using relevant emoji.
- Impact: Bullet points explaining the technical and business value.
- Configuration: Markdown table of Inputs with clear types and defaults.
- Quick Start: Clean, copy-pasteable YAML snippet.
3. Engineering Excellence
- Idempotency: Actions must be safe to run multiple times without destructive side effects.
- Performance: Minimize initialization time; utilize caching loops where possible.
- Isolation: Use temporary directories and clean up artifacts persistently.
๐งช Verification & Testing
[!WARNING] Before submitting your contribution, ensure you have executed the following protocols:
- Linting: Ensure your YAML and Markdown files comply with our
super-linterstandards (npm run lintequivalents). - Dry Run: Test your action in a controlled workflow to verify input/output behavior.
- Icons: Verify that the step names in your
action.ymluse the repository's standard emoji set.
๐ License
By contributing, you agree that your contributions will be licensed under the MIT License.