From 9b640bd009fa9efdda00e0c3338fc8ed29eda424 Mon Sep 17 00:00:00 2001 From: Florian Rau Date: Tue, 19 Sep 2023 15:03:56 +0100 Subject: [PATCH] limit workflow runs --- .github/workflows/documentation.yaml | 3 +++ .github/workflows/main.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index ba91cbc07..220830596 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -2,6 +2,9 @@ name: Docs on: push: branches: [iblrigv8, docs] + paths: + - '.github/workflows/documentation.yaml' + - 'docs/**' permissions: contents: write jobs: diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1572c1412..67b9c7d1a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -3,8 +3,12 @@ name: iblrigv8 CI on: push: branches: [iblrigv8] + paths-ignore: + - 'docs/**' pull_request: branches: [iblrigv8] + paths-ignore: + - 'docs/**' jobs: tests: