Skip to content

Commit 41218c6

Browse files
Kostiantyn KrykunSergK
authored andcommitted
EPMDEDP-16521: chore: Update commit message pattern validation and CHANGELOG
1 parent c904325 commit 41218c6

3 files changed

Lines changed: 42 additions & 1 deletion

File tree

.chglog/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ options:
4040
test: Testing
4141

4242
header:
43-
pattern: "^(feat|fix|docs|style|refactor|test|chore)+!?:\\s(.*)$"
43+
pattern: "^(?:[A-Z]+-\\d+:\\s)?(feat|fix|docs|style|refactor|test|chore)!?:\\s(.*)$"
4444
pattern_maps:
4545
- Type
4646
- Subject

.github/workflows/pr.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,34 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14+
check-commit-message:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v6
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Check commit format
23+
uses: gsactions/commit-message-checker@v2
24+
with:
25+
pattern: '^(EPMDEDP-\d+: (fix|feat|docs|style|refactor|test|chore)(!)?: .+|(chore|build)\(deps\): Bump .+)$'
26+
error: 'Your commit message should be in the format "EPMDEDP-ID: type: Description". Example: "EPMDEDP-16058: feat: add feature"'
27+
excludeDescription: 'true'
28+
excludeTitle: 'true'
29+
checkAllCommitMessages: 'true'
30+
accessToken: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: Check line length
33+
uses: gsactions/commit-message-checker@v2
34+
with:
35+
pattern: '^.{10,85}$'
36+
error: 'Commit title must be between 10 and 85 characters long.'
37+
excludeDescription: 'true'
38+
excludeTitle: 'true'
39+
checkAllCommitMessages: 'true'
40+
accessToken: ${{ secrets.GITHUB_TOKEN }}
41+
1442
tests:
1543
name: Run tests
1644
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
11
<a name="unreleased"></a>
22
## [Unreleased]
33

4+
### Routine
5+
6+
- Update current development version
7+
48

59
<a name="v2.31.0"></a>
610
## [v2.31.0] - 2026-04-04
11+
### Routine
12+
13+
- Update current development version ([#272](https://github.com/epam/edp-codebase-operator/issues/272))
14+
715

816
<a name="v2.30.0"></a>
917
## [v2.30.0] - 2026-03-27
1018
### Features
1119

20+
- populate image digest in APPLICATIONS_PAYLOAD
21+
- add image digest field to CodebaseImageStream CRD and Helm scaffolding
1222
- simplify GitLab CI template selection via annotation-based ConfigMap lookup
1323
- add tektonDisabled field and ciTool enum validation for multi-CI support
1424
- Add Docker registry and podLabels to helm chart ([#246](https://github.com/epam/edp-codebase-operator/issues/246))
1525

1626
### Bug Fixes
1727

28+
- add image.digest to Helm scaffolding README templates
1829
- add Helm chart validation to CI pipeline and fix label indentation
1930
- update CodebaseBranch pipelines example with security field ([#254](https://github.com/epam/edp-codebase-operator/issues/254))
2031

2132
### Routine
2233

34+
- remove CodeMie integration
35+
- bump dependencies to address vulnerabilities
2336
- Upgrade golangci-lint from v1.64.7 to v2.8.0 ([#257](https://github.com/epam/edp-codebase-operator/issues/257))
2437
- add security pipeline field to CodebaseBranch CRD ([#254](https://github.com/epam/edp-codebase-operator/issues/254))
2538
- Update Operator SDK from v1.39.2 to v1.42.0 ([#252](https://github.com/epam/edp-codebase-operator/issues/252))

0 commit comments

Comments
 (0)