From 2b456c231f7c09414dbf1cf731ac46c38a4925f5 Mon Sep 17 00:00:00 2001 From: Jacques ROUSSEL Date: Fri, 24 May 2024 14:18:55 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A(CI)=20improve=20changelog=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disable changelog when the label is not present --- .github/workflows/impress.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/impress.yml b/.github/workflows/impress.yml index 117fe8f1..ae170708 100644 --- a/.github/workflows/impress.yml +++ b/.github/workflows/impress.yml @@ -32,6 +32,9 @@ jobs: check-changelog: runs-on: ubuntu-latest + if: | + contains(github.event.pull_request.labels.*.name, 'noChangeLog') == false && + github.event_name == 'pull_request' steps: - name: Checkout repository uses: actions/checkout@v2