From cb4d6ab303d468079c136b965331242cd0364550 Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Wed, 3 Jul 2024 09:55:53 -0700 Subject: [PATCH] Stop duplicate CI runs on branch push by bots Signed-off-by: Daniel Widdis --- .github/workflows/CI.yml | 3 ++- .github/workflows/test_bwc.yml | 9 +++++---- .github/workflows/test_security.yml | 3 ++- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1b920f3ce..44d2b7145 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -5,8 +5,9 @@ on: branches-ignore: - 'whitesource-remediate/**' - 'backport/**' + - 'create-pull-request/**' pull_request: - types: [opened, synchronize, reopened] + types: [opened, synchronize, reopened, edited] jobs: spotless: diff --git a/.github/workflows/test_bwc.yml b/.github/workflows/test_bwc.yml index bdb57733f..56b41d3e2 100644 --- a/.github/workflows/test_bwc.yml +++ b/.github/workflows/test_bwc.yml @@ -1,11 +1,12 @@ name: BWC on: push: - branches: - - "**" + branches-ignore: + - 'whitesource-remediate/**' + - 'backport/**' + - 'create-pull-request/**' pull_request: - branches: - - "**" + types: [opened, synchronize, reopened, edited] jobs: Build-ff-linux: diff --git a/.github/workflows/test_security.yml b/.github/workflows/test_security.yml index a1c77f39e..755ee5221 100644 --- a/.github/workflows/test_security.yml +++ b/.github/workflows/test_security.yml @@ -4,8 +4,9 @@ on: branches-ignore: - 'whitesource-remediate/**' - 'backport/**' + - 'create-pull-request/**' pull_request: - types: [opened, synchronize, reopened] + types: [opened, synchronize, reopened, edited] jobs: Get-CI-Image-Tag: