From b9d68c5c9b673f820278ae952fa8e1896260cbd5 Mon Sep 17 00:00:00 2001 From: Erik Schamper <1254028+Schamper@users.noreply.github.com> Date: Wed, 31 Jan 2024 15:40:14 +0100 Subject: [PATCH] Only run CI on PR and main branch pushes (#26) --- .github/workflows/dissect-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dissect-ci.yml b/.github/workflows/dissect-ci.yml index e742f8f..c8483ba 100644 --- a/.github/workflows/dissect-ci.yml +++ b/.github/workflows/dissect-ci.yml @@ -1,7 +1,12 @@ name: Dissect CI -on: [push, pull_request, workflow_dispatch] +on: + push: + branches: + - main + pull_request: + workflow_dispatch: -jobs: +jobs: ci: uses: fox-it/dissect-workflow-templates/.github/workflows/dissect-ci-template.yml@main secrets: inherit