From a41b5ac594bc372d545645e29526685f1602158b Mon Sep 17 00:00:00 2001 From: Tomasz Gromadzki Date: Sun, 27 Oct 2024 15:21:38 +0100 Subject: [PATCH] common: fix scan only for PR Signed-off-by: Tomasz Gromadzki --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08d6c815e7..a96bf6bd42 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,8 @@ jobs: # Skip for pmem/pmdk/master and stable-* branches if: | !(github.repository == 'pmem/pmdk' && - (github.ref_name == 'master' || startsWith(github.ref_name, 'stable-'))) + (github.ref_name == 'master' || startsWith(github.ref_name, 'stable-'))) && + github.event_name == 'pull_request' uses: Zomzog/changelog-checker@09cfe9ad3618dcbfdba261adce0c41904cabb8c4 # v1.3.0 with: fileName: ChangeLog