From a3d124a1935f07186e365ff1a6a9320fd82eec0f Mon Sep 17 00:00:00 2001 From: ximon18 <3304436+ximon18@users.noreply.github.com> Date: Thu, 2 Jul 2020 16:34:50 +0200 Subject: [PATCH] Run ci workflow on branch or PR, not both --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1f660e8..9c2337c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,8 @@ name: CI on: push: + branches: + - master paths-ignore: - '.dockerignore' - '.github/workflow/e2e.yml' @@ -15,6 +17,8 @@ on: - 'tests/e2e/**' # Hmm, annoying, do we really have to duplicate this? pull_request: + branches: + - master paths-ignore: - '.dockerignore' - '.github/workflow/e2e.yml' @@ -43,4 +47,4 @@ jobs: with: rust-version: ${{ matrix.rust }} - run: cargo build --verbose - - run: cargo test --verbose \ No newline at end of file + - run: cargo test --verbose