From d40fd01b349748bd7462109860e4fc54067261c7 Mon Sep 17 00:00:00 2001 From: PedroTroller Date: Mon, 26 Feb 2024 15:26:16 +0100 Subject: [PATCH] ci: deduplicate workflows runs --- .github/workflows/{bc.yml => bc.yaml} | 3 ++- .github/workflows/pull-request.yaml | 7 +++++++ .github/workflows/push.yaml | 10 ++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) rename .github/workflows/{bc.yml => bc.yaml} (93%) create mode 100644 .github/workflows/pull-request.yaml create mode 100644 .github/workflows/push.yaml diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yaml similarity index 93% rename from .github/workflows/bc.yml rename to .github/workflows/bc.yaml index 26296d5b..f196770d 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yaml @@ -1,5 +1,6 @@ -on: [push, pull_request] +--- name: Roave + jobs: roave_bc_check: name: BC Check diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml new file mode 100644 index 00000000..c9332cc5 --- /dev/null +++ b/.github/workflows/pull-request.yaml @@ -0,0 +1,7 @@ +--- +name: Pull-Request + +on: pull_request + +bc: + uses: ./.github/workflows/bc.yaml diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml new file mode 100644 index 00000000..0cdee908 --- /dev/null +++ b/.github/workflows/push.yaml @@ -0,0 +1,10 @@ +--- +name: Pull-Request + +on: + push: + branches: + - master + +bc: + uses: ./.github/workflows/bc.yaml