Thanks for your interest in improving SimpleCov GitHub Action! Contributions of all kinds are welcome — bug reports, feature requests, documentation, and code.
- Search existing issues before opening a new one.
- Use the issue templates and include a minimal reproduction: your workflow YAML, the action inputs you used, and the relevant log output.
The action is a single Ruby script (src/check_coverage.rb) packaged as a Docker
action.
# Syntax check (same as CI lint job)
ruby -c src/check_coverage.rb
# Build the container locally
docker build -t simplecov-github-action .The script reads its configuration from environment variables (see action.yml
for the full input-to-env mapping). To run it against a SimpleCov result file:
docker run --rm \
-e MINIMUM_SUITE_COVERAGE=95 \
-e COVERAGE_PATH=coverage/.resultset.json \
-e GITHUB_STEP_SUMMARY=/dev/stdout \
-v "$PWD:/github/workspace" -w /github/workspace \
simplecov-github-action- Fork the repository and create a feature branch off
main. - Make your change. Keep it focused — one logical change per PR.
- Run
ruby -c src/check_coverage.rband build the Docker image to confirm the action still works. - Update
README.mdandCHANGELOG.md(under an## [Unreleased]heading) when your change affects behavior or inputs. - Open a PR using the template and describe what changed and why.
CI runs a lint job, an action self-test, and a Docker build on every PR — make sure all checks are green before requesting review.
- Follow Conventional Commits for commit
messages (
feat:,fix:,chore:,docs:, …). - This project follows Semantic Versioning.
- The CHANGELOG format is based on Keep a Changelog.
By contributing, you agree that your contributions are licensed under the MIT License.