From 7dec52932fa362aea84cbc5cb605af7c3f6c7a1c Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 09:48:36 -0700 Subject: [PATCH] [Backport 2.x] Stop duplicate CI runs on branch push by bots (#783) Stop duplicate CI runs on branch push by bots (#755) (cherry picked from commit 9f83d94c83d21b864d437c5db8cd36f5694e17d4) Signed-off-by: Daniel Widdis Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .github/workflows/CI.yml | 2 ++ .github/workflows/test_bwc.yml | 10 ++++++---- .github/workflows/test_security.yml | 2 ++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 968da85e3..0a428f0ca 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,10 +1,12 @@ name: CI on: + workflow_dispatch: push: branches-ignore: - 'whitesource-remediate/**' - 'backport/**' + - 'create-pull-request/**' pull_request: types: [opened, synchronize, reopened] diff --git a/.github/workflows/test_bwc.yml b/.github/workflows/test_bwc.yml index b5f2e2d16..305c50abc 100644 --- a/.github/workflows/test_bwc.yml +++ b/.github/workflows/test_bwc.yml @@ -1,11 +1,13 @@ name: BWC on: + workflow_dispatch: push: - branches: - - "**" + branches-ignore: + - 'whitesource-remediate/**' + - 'backport/**' + - 'create-pull-request/**' pull_request: - branches: - - "**" + types: [opened, synchronize, reopened] jobs: Build-ff-linux: diff --git a/.github/workflows/test_security.yml b/.github/workflows/test_security.yml index 5ba0002a5..34533b413 100644 --- a/.github/workflows/test_security.yml +++ b/.github/workflows/test_security.yml @@ -1,9 +1,11 @@ name: Security test workflow for Flow Framework on: + workflow_dispatch: push: branches-ignore: - 'whitesource-remediate/**' - 'backport/**' + - 'create-pull-request/**' pull_request: types: [opened, synchronize, reopened]