From b876f1d8a62128ac73d2a752dedfdbeb36de75fd Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Wed, 2 Jul 2025 06:57:48 +0000 Subject: [PATCH 1/2] Validate that pubrules passes on PRs. Also adjust editorconfig to indent workflows correctly. --- .editorconfig | 4 ++++ .github/workflows/build.yml | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 64f3748..6542dba 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,3 +9,7 @@ indent_size = 4 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true + +[*.yml] +indent_style = space +indent_size = 2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a204a53..2bb42e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: contents: write steps: - uses: actions/checkout@v4 - - uses: w3c/spec-prod@v2 + - uses: w3c/spec-prod@pubrules-profiles-patch with: BUILD_FAIL_ON: warning GH_PAGES_BRANCH: gh-pages @@ -21,3 +21,4 @@ jobs: status: NOTE metadata order: *, !* metadata include: Participate no, Feedback yes + VALIDATE_PUBRULES: true From 39de558f63445b7007d3ea7bbfd32e61c46e6294 Mon Sep 17 00:00:00 2001 From: Sid Vishnoi <8426945+sidvishnoi@users.noreply.github.com> Date: Mon, 22 Sep 2025 13:50:51 +0530 Subject: [PATCH 2/2] use action v2 now that it's released --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2bb42e1..464c9b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: contents: write steps: - uses: actions/checkout@v4 - - uses: w3c/spec-prod@pubrules-profiles-patch + - uses: w3c/spec-prod@v2 with: BUILD_FAIL_ON: warning GH_PAGES_BRANCH: gh-pages