From 875b7cd866ff6952daa06e6588f6dc484d86169f Mon Sep 17 00:00:00 2001 From: Jacques ROUSSEL Date: Fri, 5 Jan 2024 15:58:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7(ci)=20fix=20ci=20issue=20with=20ch?= =?UTF-8?q?angelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix issue with changelog Test --- .github/workflows/people.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/people.yml b/.github/workflows/people.yml index 06f319f..d31de11 100644 --- a/.github/workflows/people.yml +++ b/.github/workflows/people.yml @@ -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