From c14cb74ee89c9b48a3b9dfe134627d46682f1dd8 Mon Sep 17 00:00:00 2001 From: Owais Kazi Date: Wed, 24 Jan 2024 16:08:23 -0800 Subject: [PATCH 1/3] Restrict verifier to run on main Signed-off-by: Owais Kazi --- .github/workflows/changelog_verifier.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/changelog_verifier.yml b/.github/workflows/changelog_verifier.yml index bc4a6ca39..9a0d0ea3c 100644 --- a/.github/workflows/changelog_verifier.yml +++ b/.github/workflows/changelog_verifier.yml @@ -5,6 +5,7 @@ on: - 'whitesource-remediate/**' - 'backport/**' pull_request: + branches: main types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled] jobs: From 570775406b212f96c189d659cd8e86774b0807b8 Mon Sep 17 00:00:00 2001 From: Owais Kazi Date: Wed, 24 Jan 2024 16:22:31 -0800 Subject: [PATCH 2/3] Move branches ignore under pull_request Signed-off-by: Owais Kazi --- .github/workflows/changelog_verifier.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/changelog_verifier.yml b/.github/workflows/changelog_verifier.yml index 9a0d0ea3c..c0fe37bcc 100644 --- a/.github/workflows/changelog_verifier.yml +++ b/.github/workflows/changelog_verifier.yml @@ -1,10 +1,9 @@ name: "Changelog Verifier" on: - push: + pull_request: branches-ignore: - 'whitesource-remediate/**' - 'backport/**' - pull_request: branches: main types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled] From 4b60ff3dcc5c087b976fb5b21092e159ebe1dd8d Mon Sep 17 00:00:00 2001 From: Owais Kazi Date: Wed, 24 Jan 2024 16:26:45 -0800 Subject: [PATCH 3/3] Removed branch filter Signed-off-by: Owais Kazi --- .github/workflows/changelog_verifier.yml | 3 ++- build.gradle | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changelog_verifier.yml b/.github/workflows/changelog_verifier.yml index c0fe37bcc..9a0d0ea3c 100644 --- a/.github/workflows/changelog_verifier.yml +++ b/.github/workflows/changelog_verifier.yml @@ -1,9 +1,10 @@ name: "Changelog Verifier" on: - pull_request: + push: branches-ignore: - 'whitesource-remediate/**' - 'backport/**' + pull_request: branches: main types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled] diff --git a/build.gradle b/build.gradle index 168931fd7..ba02741a0 100644 --- a/build.gradle +++ b/build.gradle @@ -414,7 +414,7 @@ subprojects { retry { failOnPassedAfterRetry = false maxRetries = 3 - maxFailures = 5 + maxFailures = 10 } } }