Skip to content
Merged
49 changes: 49 additions & 0 deletions .github/workflows/check-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Check if the CHANGELOG.md has been modified
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled, edited]
jobs:
check-changelog:
if: github.event.pull_request.base.ref == 'develop'
runs-on: ubuntu-latest
steps:
- name: Check for 'skip-changelog' label
id: check-label
uses: actions/github-script@v7
with:
result-encoding: string
script: |
const labels = await github.rest.issues.listLabelsOnIssue({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
});
const hasLabel = labels.data.some(label => label.name === 'skip-changelog');
return hasLabel;
- name: Eval if changelog can be omited
id: skip-check
run: |
echo "Label: ${{ steps.check-label.outputs.result }}"
echo "Comment: ${{ steps.check-body.outputs.result }}"
if [[ "${{ steps.check-label.outputs.result }}" == "true" ]]; then
echo "SKIP=true" >> $GITHUB_ENV
else
echo "SKIP=false" >> $GITHUB_ENV
fi
- name: Code checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: CHANGELOG.md verify
if: env.SKIP != 'true'
run: |
git fetch origin develop --depth=1
git checkout ${{ github.head_ref }}
git diff --name-only FETCH_HEAD > changed_files.txt
if grep -xq "CHANGELOG.md" changed_files.txt; then
echo "CHANGELOG.md updated ✅"
else
echo "CHANGELOG.md not updated ❌"
exit 1
fi
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@
<!-- Este fichero sigue el formato de https://keepachangelog.com -->

## [Unreleased]
## [3.16.0] - 2025-09-12
### Changed 🛠️
* **Updated Ontimize Boot Version**: Update Ontimize EE version to 5.13.0
## [3.15.3] - 2025-06-25
### Changed 🛠️
* **Updated Ontimize Boot Version**: Update Ontimize Version to 3.15.3.
## [3.15.2] - 2025-04-28
### Changed 🛠️
* **Updated Ontimize Boot Version**: Update Ontimize Version to 3.15.2.
## [3.15.1] - 2025-04-11
### Changed 🛠️
Expand Down Expand Up @@ -46,7 +51,8 @@
### Changed 🛠️
* **Updated Ontimize Boot Version**: Update Ontimize Version to 3.9.0.

[unreleased]: https://github.com/ontimize/ontimize-boot-parent/compare/3.15.3...HEAD
[unreleased]: https://github.com/ontimize/ontimize-boot-parent/compare/3.16.0...HEAD
[3.16.0]: https://github.com/ontimize/ontimize-boot-parent/compare/3.15.3...3.16.0
[3.15.3]: https://github.com/ontimize/ontimize-boot-parent/compare/3.15.2...3.15.3
[3.15.2]: https://github.com/ontimize/ontimize-boot-parent/compare/3.15.1...3.15.2
[3.15.1]: https://github.com/ontimize/ontimize-boot-parent/compare/3.15.0...3.15.1
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.ontimize.boot</groupId>
<artifactId>ontimize-boot-parent</artifactId>
<version>3.15.3</version>
<version>3.16.0</version>
<packaging>pom</packaging>

<parent>
Expand Down Expand Up @@ -72,7 +72,7 @@

<properties>
<project.dependency.spring.boot.version>2.5.0</project.dependency.spring.boot.version>
<project.dependency.ontimize.boot.version>3.15.3</project.dependency.ontimize.boot.version>
<project.dependency.ontimize.boot.version>3.16.0</project.dependency.ontimize.boot.version>
<project.dependency.spring.cloud.version>Greenwich.RELEASE</project.dependency.spring.cloud.version>
<project.plugin.ontimize.openapi.generator>1.2.0</project.plugin.ontimize.openapi.generator>
<!-- =========================================================== -->
Expand Down
Loading