From 412f246505aacd79fdc170e053c81bfa94762027 Mon Sep 17 00:00:00 2001 From: Markus Bilz Date: Sun, 14 Jan 2024 09:22:21 +0100 Subject: [PATCH] feat(ci): skip python pipelines for changes in docs (#80) --- .github/workflows/publish.yaml | 6 +++++- .github/workflows/tests.yaml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 11c3670..99f78d0 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -2,7 +2,11 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI -on: push +on: + push: + paths: + - '**/*' + - '!docs/**' jobs: build: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index bf60f7b..a857ea9 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,5 +1,9 @@ name: Tests -on: [push, pull_request] +on: + push: + paths: + - '**/*' + - '!docs/**' jobs: build: runs-on: ${{ matrix.os }}