From e4b0ca86e5b36080f3f77832e89bf9961e0365b6 Mon Sep 17 00:00:00 2001 From: Jacques ROUSSEL Date: Fri, 5 Jan 2024 18:06:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7(ci)=20fix=20ci=20issue=20with=20ch?= =?UTF-8?q?angelog=20on=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit check-changelog should only runs on PR --- .github/workflows/people.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/people.yml b/.github/workflows/people.yml index 73d22eb..a8875f9 100644 --- a/.github/workflows/people.yml +++ b/.github/workflows/people.yml @@ -34,7 +34,9 @@ jobs: check-changelog: runs-on: ubuntu-latest - if: contains(github.event.pull_request.labels.*.name, 'noChangeLog') == false + if: | + contains(github.event.pull_request.labels.*.name, 'noChangeLog') == false && + github.event_name == 'pull_request' steps: - name: Checkout repository uses: actions/checkout@v2