diff --git a/.chglog/config.yml b/.chglog/config.yml index 7944bfe7..1b96efd1 100755 --- a/.chglog/config.yml +++ b/.chglog/config.yml @@ -40,7 +40,7 @@ options: test: Testing header: - pattern: "^(feat|fix|docs|style|refactor|test|chore)+!?:\\s(.*)$" + pattern: "^(?:[A-Z]+-\\d+:\\s)?(feat|fix|docs|style|refactor|test|chore)!?:\\s(.*)$" pattern_maps: - Type - Subject diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 2dea89c7..4c404889 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -11,6 +11,34 @@ concurrency: cancel-in-progress: true jobs: + check-commit-message: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Check commit format + uses: gsactions/commit-message-checker@v2 + with: + pattern: '^(EPMDEDP-\d+: (fix|feat|docs|style|refactor|test|chore)(!)?: .+|(chore|build)\(deps\): Bump .+)$' + error: 'Your commit message should be in the format "EPMDEDP-ID: type: Description". Example: "EPMDEDP-16058: feat: add feature"' + excludeDescription: 'true' + excludeTitle: 'true' + checkAllCommitMessages: 'true' + accessToken: ${{ secrets.GITHUB_TOKEN }} + + - name: Check line length + uses: gsactions/commit-message-checker@v2 + with: + pattern: '^.{10,85}$' + error: 'Commit title must be between 10 and 85 characters long.' + excludeDescription: 'true' + excludeTitle: 'true' + checkAllCommitMessages: 'true' + accessToken: ${{ secrets.GITHUB_TOKEN }} + tests: name: Run tests runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 356854f2..ddb8b479 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,38 @@ ## [Unreleased] +### Routine + +- Update current development version + ## [v2.31.0] - 2026-04-04 +### Routine + +- Update current development version ([#272](https://github.com/epam/edp-codebase-operator/issues/272)) + ## [v2.30.0] - 2026-03-27 ### Features +- populate image digest in APPLICATIONS_PAYLOAD +- add image digest field to CodebaseImageStream CRD and Helm scaffolding - simplify GitLab CI template selection via annotation-based ConfigMap lookup - add tektonDisabled field and ciTool enum validation for multi-CI support - Add Docker registry and podLabels to helm chart ([#246](https://github.com/epam/edp-codebase-operator/issues/246)) ### Bug Fixes +- add image.digest to Helm scaffolding README templates - add Helm chart validation to CI pipeline and fix label indentation - update CodebaseBranch pipelines example with security field ([#254](https://github.com/epam/edp-codebase-operator/issues/254)) ### Routine +- remove CodeMie integration +- bump dependencies to address vulnerabilities - Upgrade golangci-lint from v1.64.7 to v2.8.0 ([#257](https://github.com/epam/edp-codebase-operator/issues/257)) - add security pipeline field to CodebaseBranch CRD ([#254](https://github.com/epam/edp-codebase-operator/issues/254)) - Update Operator SDK from v1.39.2 to v1.42.0 ([#252](https://github.com/epam/edp-codebase-operator/issues/252))