From 002f44ea3d5120ca6dcda92960a7eb01d7773ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Sun, 12 Apr 2026 14:42:03 +0200 Subject: [PATCH] ci: skip CI/deploy/release workflows on docs-only changes Adds paths-ignore filters so changes under docs/, .gitea/, *.md, and LICENSE don't trigger the full CI matrix, image builds, or test-deploy on Gitea Actions. Saves ~30+ minutes per docs commit. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 10 ++++++++++ .github/workflows/deploy-test.yml | 10 ++++++++++ .github/workflows/release-image.yml | 5 +++++ 3 files changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6070f57..464c282 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,18 @@ name: CI on: push: branches: [main] + paths-ignore: + - "docs/**" + - ".gitea/**" + - "**/*.md" + - "LICENSE" pull_request: branches: [main] + paths-ignore: + - "docs/**" + - ".gitea/**" + - "**/*.md" + - "LICENSE" concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index d28e7f2..ad29102 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -3,8 +3,18 @@ name: Docker Deploy Test on: push: branches: [main] + paths-ignore: + - "docs/**" + - ".gitea/**" + - "**/*.md" + - "LICENSE" pull_request: branches: [main] + paths-ignore: + - "docs/**" + - ".gitea/**" + - "**/*.md" + - "LICENSE" concurrency: group: deploy-test-${{ github.ref }} diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index a026e42..29e9a8d 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -3,6 +3,11 @@ name: Release Image on: push: branches: [main] + paths-ignore: + - "docs/**" + - ".gitea/**" + - "**/*.md" + - "LICENSE" workflow_dispatch: inputs: image_tag: