From 5aafb804b75941acca14168f031d289f85a50dfb Mon Sep 17 00:00:00 2001 From: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Date: Wed, 24 Apr 2024 15:22:54 +0300 Subject: [PATCH] ci: Run CI on master and PRs (#87) This PR also enabled the CI to run on commits pushed to master. Modified the running behavior on the PRs, to only limit the CI to branches that are ready to be merged on master. cc @dmitry-markin Signed-off-by: Alexandru Vasile --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 132f1741..f64c95e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,16 @@ name: CI on: + push: + # Run jobs when commits are pushed to + # master or release-like branches: + branches: + - master pull_request: - types: [opened, synchronize, reopened, ready_for_review] + # Run jobs for any external PR that wants + # to merge to master, too: + branches: + - master # Disable previous runs concurrency: