From 2eb3b242036f398cf4c64645f12d07da5aec3404 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Sun, 15 Mar 2026 09:59:22 +0100 Subject: [PATCH] Meta: update repository files See https://github.com/whatwg/spec-factory for details. --- CONTRIBUTING.md => .github/CONTRIBUTING.md | 0 .../pull_request_template.md | 4 +++- .github/workflows/build.yml | 8 ++++---- Makefile | 6 ++++-- 4 files changed, 11 insertions(+), 7 deletions(-) rename CONTRIBUTING.md => .github/CONTRIBUTING.md (100%) rename PULL_REQUEST_TEMPLATE.md => .github/pull_request_template.md (85%) diff --git a/CONTRIBUTING.md b/.github/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to .github/CONTRIBUTING.md diff --git a/PULL_REQUEST_TEMPLATE.md b/.github/pull_request_template.md similarity index 85% rename from PULL_REQUEST_TEMPLATE.md rename to .github/pull_request_template.md index 54b47f4..dfa8d53 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/.github/pull_request_template.md @@ -1,6 +1,8 @@ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 66fe55b..f6bf113 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,14 +12,14 @@ on: jobs: build: name: Build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: fetch-depth: 2 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: - python-version: "3.11" + python-version: "3.14" - run: pip install bikeshed && bikeshed update # Note: `make deploy` will do a deploy dry run on PRs. - run: make deploy diff --git a/Makefile b/Makefile index e964b98..d2e8448 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,15 @@ SHELL=/bin/bash -o pipefail .PHONY: local remote deploy remote: encoding.bs - @ (HTTP_STATUS=$$(curl https://api.csswg.org/bikeshed/ \ + @ (HTTP_STATUS=$$(curl https://www.w3.org/publications/spec-generator/ \ --output encoding.html \ --write-out "%{http_code}" \ --header "Accept: text/plain, text/html" \ -F die-on=warning \ -F md-Text-Macro="COMMIT-SHA LOCAL COPY" \ - -F file=@encoding.bs) && \ + -F file=@encoding.bs \ + -F type=bikeshed-spec \ + -F output=html) && \ [[ "$$HTTP_STATUS" -eq "200" ]]) || ( \ echo ""; cat encoding.html; echo ""; \ rm -f encoding.html; \