👷(ci) fix ci issue with changelog

fix issue with changelog

Test
This commit is contained in:
Jacques ROUSSEL
2024-01-05 15:58:30 +01:00
committed by rouja
parent b5a46eba33
commit 875b7cd866

View File

@@ -34,11 +34,14 @@ jobs:
check-changelog:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'noChangeLog') == false
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Check that the CHANGELOG has been modified in the current branch
run: git whatchanged --name-only --pretty="" origin..HEAD | grep CHANGELOG
run: git whatchanged --name-only --pretty="" origin/${{ github.event.pull_request.base.ref }}..HEAD | grep CHANGELOG
lint-changelog:
runs-on: ubuntu-latest