From f80811933b02be0f35524e54fdeb476f1b881b89 Mon Sep 17 00:00:00 2001 From: Dylan Frankland Date: Tue, 15 Sep 2026 04:31:32 +0000 Subject: [PATCH] docs: describe swift-test-xunit-paths as taking globs The input said "Takes files, not glob paths", which was true of the CLI argument it forwards to until trunk-io/analytics-cli#1201 gave that argument the same expansion `--junit-paths` has always had. Worded to match the `junit-paths` row above it, since the two now behave the same way. Co-Authored-By: Claude Opus 5 (1M context) --- README.md | 12 ++++++------ action.yaml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 83fcfc6..e6a0c48 100644 --- a/README.md +++ b/README.md @@ -57,12 +57,12 @@ jobs: ### Input Sources (At least one required) -| Parameter | Description | -| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `junit-paths` | Comma-separated list of glob paths to junit files. | -| `xcresult-path` | Path to the xcresult directory. | -| `bazel-bep-path` | Path to the bazel BEP file to parse in place of junits. | -| `swift-test-xunit-paths` | Comma-separated list of files written by `swift test --xunit-output`, whose tests are attributed to the file each is declared in. Takes files, not glob paths. Defaults to `TRUNK_SWIFT_TEST_XUNIT_PATHS`. | +| Parameter | Description | +| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `junit-paths` | Comma-separated list of glob paths to junit files. | +| `xcresult-path` | Path to the xcresult directory. | +| `bazel-bep-path` | Path to the bazel BEP file to parse in place of junits. | +| `swift-test-xunit-paths` | Comma-separated list of glob paths to junit files written by `swift test --xunit-output`, whose tests are attributed to the file each is declared in. Defaults to `TRUNK_SWIFT_TEST_XUNIT_PATHS`. | ### Required Parameters diff --git a/action.yaml b/action.yaml index 312e77d..66fad2e 100644 --- a/action.yaml +++ b/action.yaml @@ -35,7 +35,7 @@ inputs: description: Path to the bazel BEP file to parse in place of junits. required: false swift-test-xunit-paths: - description: Comma-separated list of files written by `swift test --xunit-output`, whose tests are attributed to the file each is declared in. Takes files, not glob paths. Defaults to TRUNK_SWIFT_TEST_XUNIT_PATHS env var. + description: Comma-separated list of glob paths to junit files written by `swift test --xunit-output`, whose tests are attributed to the file each is declared in. Defaults to TRUNK_SWIFT_TEST_XUNIT_PATHS env var. required: false use-bazel-target-for-codeowners: description: Use the Bazel target label as a fallback path for CODEOWNERS association when no file attribute is present in the JUnit XML.