Skip to content

Commit ee65e28

Browse files
committed
introduced Changie tools (https://github.com/miniscruff/changie)
1 parent 953b276 commit ee65e28

File tree

6 files changed

+36
-3
lines changed

6 files changed

+36
-3
lines changed

.changes/header.tpl.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!-- markdownlint-disable MD013 MD024 -->
2+
# Changelog
3+
4+
All notable changes to this project will be documented in this file.
5+
6+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
7+
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
8+
and is generated by [Changie](https://github.com/miniscruff/changie).

.changes/unreleased/.gitkeep

Whitespace-only changes.

.changie.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
changesDir: .changes
2+
unreleasedDir: unreleased
3+
headerPath: header.tpl.md
4+
changelogPath: CHANGELOG.md
5+
versionExt: md
6+
versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
7+
kindFormat: '### {{.Kind}}'
8+
changeFormat: '- {{.Body}}'
9+
kinds:
10+
- label: Added
11+
- label: Changed
12+
- label: Deprecated
13+
- label: Removed
14+
- label: Fixed
15+
- label: Security
16+
newlines:
17+
afterHeaderTemplate: 0
18+
beforeKind: 1
19+
afterKind: 1
20+
beforeVersion: 1
21+
endOfVersion: 1
22+
envPrefix: CHANGIE_

.github/linters/.ecrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"IgnoreDefaults": false,
55
"SpacesAftertabs": false,
66
"NoColor": false,
7-
"Exclude": ["\\.editorconfig", "\\.github", "\\.gitignore", "LICENSE", "^README\\.md", "vendor", "\\.phplint-cache"],
7+
"Exclude": ["\\.editorconfig", "\\.github", "\\.gitignore", "LICENSE", "^README\\.md", "vendor", "\\.phplint-cache", "\\.changes"],
88
"AllowedContentTypes": [],
99
"PassedFiles": [],
1010
"Disable": {

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Release
33

44
on:
55
push:
6+
branches:
7+
- "[0-9]+.[0-9]+"
68
tags:
79
- "[0-9]+.[0-9]+.[0-9]+"
810
workflow_dispatch:
@@ -14,3 +16,4 @@ jobs:
1416
repository: ${{ github.repository }}
1517
box-output: ''
1618
release-draft: true
19+
legacy: false

.mega-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
PRINT_ALPACA: false
33
SHOW_ELAPSED_TIME: true
4-
EXCLUDED_DIRECTORIES: [".git"]
4+
EXCLUDED_DIRECTORIES: [".git", ".changes"]
55
IGNORE_GITIGNORED_FILES: true
66
ENABLE:
77
- ACTION
@@ -29,7 +29,7 @@ PHP_PHPCS_CONFIG_FILE: ".phpcs.xml.dist"
2929
PHP_PHPCS_ARGUMENTS: "-n"
3030
PHP_PHPSTAN_CLI_LINT_MODE: project
3131
PHP_PHPLINT_CLI_LINT_MODE: project
32-
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "(\\.github|mkdocs\\.yml|\\.mega-linter\\.yml)" # As it cannot be added in .gitignore for ML actionlint linter
32+
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "(\\.github|mkdocs\\.yml|\\.mega-linter\\.yml|\\.changie\\.yaml)" # As it cannot be added in .gitignore for ML actionlint linter
3333
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: "(\\.github|mkdocs\\.yml)" # As it cannot be added in .gitignore for ML actionlint linter
3434
CONFIG_REPORTER: false
3535
UPDATED_SOURCES_REPORTER: false

0 commit comments

Comments
 (0)