feat: initial
All checks were successful
Test action / test-valid (push) Successful in 33s
Test action / test-invalid (push) Successful in 32s

This commit is contained in:
Maximilian Jugl 2026-04-21 15:35:01 +02:00
commit 6eed0afd4d
8 changed files with 339 additions and 0 deletions

32
README.md Normal file
View file

@ -0,0 +1,32 @@
# Check Conventional Commit Action
This Forgejo Action validates whether a given string complies with the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/).
## Usage
Include this action in your workflow and pass the value to be tested (e.g., a pull request title or a commit message) via the `value` input.
### Example Workflow
```yaml
name: PR Validation
on:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
check-pr-title:
runs-on: stackit-docker
steps:
- name: Validate PR Title
uses: https://stackit-solutions.git.onstackit.cloud/actions/check-conventional-commit@v1
with:
value: ${{ github.event.pull_request.title }}
```
## Inputs
- `value` (Required): The string (e.g., commit message) to be validated.