Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Initiated changelog CI. (#753)

shijianjiand06488549e92
diff --git a/.github/configurations/changelog-ci-config.json b/.github/configurations/changelog-ci-config.json
new file mode 100644
index 000000000..b16115047
--- /dev/null
+++ b/.github/configurations/changelog-ci-config.json
@@ -0,0 +1,25 @@
+{
+ "header_prefix": "Version:",
+ "commit_changelog": false,
+ "comment_changelog": true,
+ "pull_request_title_regex": "^(?i:release)",
+ "version_regex": "v?([0-9]{1,2})+[.]+([0-9]{1,2})+[.]+([0-9]{1,2})\\s\\(\\d{1,2}-\\d{1,2}-\\d{4}\\)",
+ "group_config": [
+ {
+ "title": "Bug Fixes",
+ "labels": ["bug", "bugfix"]
+ },
+ {
+ "title": "Code Improvements",
+ "labels": ["improvements", "enhancement"]
+ },
+ {
+ "title": "New Features",
+ "labels": ["feature", "feature request"]
+ },
+ {
+ "title": "Documentation Updates",
+ "labels": ["docs", "documentation", "doc"]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
new file mode 100644
index 000000000..dec88e1c5
--- /dev/null
+++ b/.github/workflows/changelog.yml
@@ -0,0 +1,18 @@
+name: Changelog CI
+
+on:
+ pull_request:
+ types: [opened, reopened]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/[email protected]
+ - name: Run Changelog CI
+ uses: saadmk11/[email protected]
+ with:
+ changelog_filename: CHANGELOG.md
+ config_file: .github/configurations/changelog-ci-config.json
+ env:
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
\ No newline at end of file