From 4fc0e5346ebd44fb6a38431d46845463e997c8ec Mon Sep 17 00:00:00 2001 From: Arne Tarara Date: Mon, 13 May 2024 11:17:15 +0200 Subject: [PATCH] Reduce CI runs by ignoring pushes to branch and non-functional files --- .github/workflows/test.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3589b5d0..89928a7c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,15 @@ name: Run CI -on: [push, pull_request] +on: + push: + branches: [ "main" ] + paths-ignore: + - '**.md' + - '.vscode/*' + pull_request: + paths-ignore: + - '**.md' + - '.vscode/*' jobs: build: