💚(ci) fix changelog CI job

The command git watchanged is deprecated and is flag to be removed soon.
It can be easily replace with git log
This commit is contained in:
Marie PUPO JEAMMET
2025-08-28 15:30:33 +02:00
committed by Marie
parent 4f97685204
commit 79f8e5276a

View File

@@ -49,7 +49,7 @@ jobs:
with:
fetch-depth: 0
- name: Check that the CHANGELOG has been modified in the current branch
run: git whatchanged --name-only --pretty="" origin/${{ github.event.pull_request.base.ref }}..HEAD | grep CHANGELOG
run: git log --name-only --pretty="" origin/${{ github.event.pull_request.base.ref }}..HEAD | grep CHANGELOG
lint-changelog:
runs-on: ubuntu-latest