From 88a76e95981edf4b6a790228c68749430df77457 Mon Sep 17 00:00:00 2001 From: Aleksander Fidelus <63016446+FidelusAleksander@users.noreply.github.com> Date: Wed, 12 Mar 2025 13:25:40 +0000 Subject: [PATCH] docs: add contributing section to README for contribution guidelines --- CONTRIBUTING.md | 34 ++++++++++++++++++++++++++++++++++ README.md | 4 ++++ 2 files changed, 38 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..8406de1 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,34 @@ +# Contributing to Exercise Toolkit + +Thank you for your interest in contributing to the Exercise Toolkit! This document provides guidelines to help you contribute effectively. + +## Conventional Pull Request Titles + +This project enforces [conventionalcommit](https://www.conventionalcommits.org/en/v1.0.0/) style formatting for pull request titles to automate versioning and release processes. + +We do not require that every commit follows the conventionalcommits style, just the pull request title. Pull requests are squashed with the PR title as the commit message. + +Each PR title must follow this format: + +``` +(optional ): +``` + + + +### Examples + +``` +feat: add workflow to start exercise +fix(templates): correct typo in step feedback template +``` + +### Breaking Changes + +For breaking changes, append `!` after type/scope + +``` +feat!: change workflow inputs +feat(templates)!: change required variables for congratulations template +``` + diff --git a/README.md b/README.md index fa2442c..476536a 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,7 @@ This repository serves as a comprehensive toolkit for creating and managing GitH - **[.github/workflows](/.github/workflows)**: GitHub Actions workflows for automating common parts of Skills Exercises - **[markdown-templates](/markdown-templates)**: Ready-to-use Markdown templates for creating consistent exercise documentation, instructions, and README files + +## Contributing + +For contribution guidelines, see our [CONTRIBUTING.md](/CONTRIBUTING.md) file.