From 333710fc9a389438d0c6a183246c710b1566d070 Mon Sep 17 00:00:00 2001 From: erseco Date: Tue, 22 Sep 2026 12:50:31 +0100 Subject: [PATCH] Skip code workflows for changes limited to agent skills --- .github/workflows/architecture-records.yml | 10 ++++++++-- .github/workflows/ci.yml | 4 ++++ .github/workflows/phpmd.yml | 6 ++++++ .github/workflows/pr-playground-preview.yml | 3 +++ 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/architecture-records.yml b/.github/workflows/architecture-records.yml index 02b324d..86f4f6c 100644 --- a/.github/workflows/architecture-records.yml +++ b/.github/workflows/architecture-records.yml @@ -11,15 +11,21 @@ # docs/: it scans every tracked file for retired `ADR-NNNN` / `SDD-NNNN` # identifiers, which land in PHP comments and tests as often as in Markdown. # -# Deliberately no filters and no dependencies beyond PHP: the whole job is a +# Only agent-skill updates are filtered. No dependencies beyond PHP: the whole job is a # checkout plus one PHP script with no Composer packages, so running it on -# everything costs seconds. +# code and architecture-record changes costs seconds. name: Architecture records on: pull_request: + paths-ignore: + - '.agents/skills/**' + - '.claude/skills/**' push: + paths-ignore: + - '.agents/skills/**' + - '.claude/skills/**' branches: - main diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1749ec0..9b19f69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,8 @@ name: CI on: pull_request: paths-ignore: + - '.agents/skills/**' + - '.claude/skills/**' - '**.md' - 'docs/**' - '.github/*.md' @@ -13,6 +15,8 @@ on: branches: - main paths-ignore: + - '.agents/skills/**' + - '.claude/skills/**' - '**.md' - 'docs/**' - '.github/*.md' diff --git a/.github/workflows/phpmd.yml b/.github/workflows/phpmd.yml index 9a51613..7414349 100644 --- a/.github/workflows/phpmd.yml +++ b/.github/workflows/phpmd.yml @@ -17,8 +17,14 @@ name: PHPMD on: push: + paths-ignore: + - '.agents/skills/**' + - '.claude/skills/**' branches: [ "main" ] pull_request: + paths-ignore: + - '.agents/skills/**' + - '.claude/skills/**' # The branches below must be a subset of the branches above branches: [ "main" ] schedule: diff --git a/.github/workflows/pr-playground-preview.yml b/.github/workflows/pr-playground-preview.yml index f21a75e..54ce469 100644 --- a/.github/workflows/pr-playground-preview.yml +++ b/.github/workflows/pr-playground-preview.yml @@ -3,6 +3,9 @@ name: PR Playground Preview on: pull_request: + paths-ignore: + - '.agents/skills/**' + - '.claude/skills/**' types: [opened, synchronize, reopened] concurrency: