From 196f1db14b166c49da22ac576d809e8dfed38d96 Mon Sep 17 00:00:00 2001 From: mwoss Date: Thu, 4 Apr 2024 16:30:32 +0200 Subject: [PATCH 1/2] Run CI on both push to origin branches and pull requests --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cd57da..73f24af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ name: ci -on: [push] +on: [push, pull_request] jobs: ci-job: runs-on: ubuntu-latest From efbe7b97177f1f1ed90f7b28f9c9d8dd8e0f6cc0 Mon Sep 17 00:00:00 2001 From: mwoss Date: Thu, 4 Apr 2024 16:34:00 +0200 Subject: [PATCH 2/2] Run push only on master --- .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 73f24af..5f77eb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: ci -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: ci-job: runs-on: ubuntu-latest