check-conventional-commit/README.md
Maximilian Jugl 6eed0afd4d
All checks were successful
Test action / test-valid (push) Successful in 33s
Test action / test-invalid (push) Successful in 32s
feat: initial
2026-04-21 15:35:01 +02:00

32 lines
831 B
Markdown

# 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.