From c0dd409512af4838ed704c06ba5f8ebdc77d40a7 Mon Sep 17 00:00:00 2001 From: Robert Tidball Date: Tue, 21 Jul 2026 09:30:53 +1000 Subject: [PATCH 1/2] ci: add pull request labeler configuration --- .github/labeler.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..678606b2 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,5 @@ +documentation: + - changed-files: + - any-glob-to-any-file: + - "docs/**" + - "**/*.md" From 495a7b75a99af15f737faa5271ebe08ba6fda660 Mon Sep 17 00:00:00 2001 From: Robert Tidball Date: Wed, 26 Aug 2026 12:55:54 +1000 Subject: [PATCH 2/2] Use actions/labeler v4 configuration syntax The workflow pins actions/labeler@v4, which expects a flat list of globs per label. The previous config used the v5+ changed-files / any-glob-to-any-file syntax, which v4 cannot parse, so the triage job would still have failed after merging. --- .github/labeler.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 678606b2..02d74750 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,5 +1,16 @@ +# Configuration for actions/labeler@v4 used by .github/workflows/labeler.yml +# v4 expects a flat list of globs per label, not the v5+ changed-files syntax. + documentation: - - changed-files: - - any-glob-to-any-file: - - "docs/**" - - "**/*.md" + - 'docs/**' + - '**/*.md' + +github_actions: + - '.github/**' + +python: + - '**/*.py' + +dependencies: + - 'pyproject.toml' + - 'requirements*.txt'