mirror of
https://github.com/triqbit/mt5-ai-xauusd-trader.git
synced 2026-11-02 06:56:15 +00:00
- Added docs/VERSIONING_POLICY.md defining SemVer and Conventional Commit rules. - Implemented .github/workflows/changelog.yml for automated CHANGELOG.md updates. - Implemented .github/workflows/commit-check.yml to enforce PR title standards. - Updated .pre-commit-config.yaml with conventional-pre-commit hook. - Refined .github/workflows/release.yml with automated version bumping, file synchronization, and Docker tagging. - Updated CHANGELOG.md with proper template and [Unreleased] section. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: andonly1348 <279141437+andonly1348@users.noreply.github.com>
37 lines
818 B
YAML
37 lines
818 B
YAML
name: Commit Message Check
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
|
|
permissions:
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
main:
|
|
name: Validate PR Title
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: amannn/action-semantic-pull-request@v5
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
# Configure which types are allowed.
|
|
types: |
|
|
feat
|
|
fix
|
|
perf
|
|
docs
|
|
refactor
|
|
style
|
|
test
|
|
chore
|
|
ci
|
|
# Configure that a scope must be always lowercase.
|
|
subjectPattern: ^(?![A-Z]).+$
|
|
# If the PR title contains a breaking change (!), it must be at the end of the type.
|
|
# e.g. "feat!: breaking change"
|