From 60adec93cbb5481e792f0645139cb15602d156c7 Mon Sep 17 00:00:00 2001 From: Olivier Gorzalka Date: Tue, 27 Oct 2026 17:45:44 +0100 Subject: [PATCH 1/3] ci: check the template with the Pollora harness --- .github/workflows/harness.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/harness.yml diff --git a/.github/workflows/harness.yml b/.github/workflows/harness.yml new file mode 100644 index 0000000..a493c49 --- /dev/null +++ b/.github/workflows/harness.yml @@ -0,0 +1,17 @@ +name: Harness + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +permissions: {} + +jobs: + harness: + uses: Pollora/harness/.github/workflows/template.yml@v0.1.10 + with: + mode: enforce + permissions: + contents: read From e0920e68ae0a4aeb9b41f48d47e69883c52d9a00 Mon Sep 17 00:00:00 2001 From: Olivier Gorzalka Date: Tue, 27 Oct 2026 18:03:06 +0100 Subject: [PATCH 2/3] style: apply the Laravel preset --- .github/workflows/harness.yml | 2 +- bin/replacements.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/harness.yml b/.github/workflows/harness.yml index a493c49..b2785f3 100644 --- a/.github/workflows/harness.yml +++ b/.github/workflows/harness.yml @@ -10,7 +10,7 @@ permissions: {} jobs: harness: - uses: Pollora/harness/.github/workflows/template.yml@v0.1.10 + uses: Pollora/harness/.github/workflows/template.yml@feat/template-placeholders-observed with: mode: enforce permissions: diff --git a/bin/replacements.php b/bin/replacements.php index 6d81e48..2ce74d2 100644 --- a/bin/replacements.php +++ b/bin/replacements.php @@ -9,7 +9,7 @@ * bin/ci/install.php, which substitutes them in the commit under test so CI * measures the theme as a user receives it, not the template. * - * @return array placeholder => a plausible substituted value + * @return array placeholder => a plausible substituted value */ function scaffolderReplacements(string $slug = 'my-theme'): array { From 56b6162adf4dd49f6b12bdb3c274b12219269110 Mon Sep 17 00:00:00 2001 From: Olivier Gorzalka Date: Wed, 28 Oct 2026 09:01:49 +0100 Subject: [PATCH 3/3] ci: pin the harness workflow on v0.1.11 --- .github/workflows/harness.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/harness.yml b/.github/workflows/harness.yml index b2785f3..5341df9 100644 --- a/.github/workflows/harness.yml +++ b/.github/workflows/harness.yml @@ -10,7 +10,7 @@ permissions: {} jobs: harness: - uses: Pollora/harness/.github/workflows/template.yml@feat/template-placeholders-observed + uses: Pollora/harness/.github/workflows/template.yml@v0.1.11 with: mode: enforce permissions: