From b41f72cd85c623030864b144818ecd1bd56d82aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Tue, 6 Apr 2021 22:06:03 +1000 Subject: [PATCH 1/5] chore: migrate to spec-prod --- .github/workflows/action.yml | 20 -------------------- .github/workflows/pr-push.yml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/action.yml create mode 100644 .github/workflows/pr-push.yml diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml deleted file mode 100644 index de5131f..0000000 --- a/.github/workflows/action.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Node CI - -on: - push: - branches: - - gh-pages - pull_request: {} - -jobs: - validate-and-publish: - name: Validate and Publish - runs-on: ubuntu-latest # only linux supported at present - steps: - - uses: actions/checkout@v2 - - uses: w3c/respec-w3c-auto-publish@v1 # use the action - with: - ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} - ECHIDNA_MANIFEST_URL: "https://w3c.github.io/payment-handler/echidna-manifest.txt" - WG_DECISION_URL: "https://www.w3.org/2016/04/14-wpwg-minutes#item02" - CC: "${{ secrets.CC }}" diff --git a/.github/workflows/pr-push.yml b/.github/workflows/pr-push.yml new file mode 100644 index 0000000..7de34af --- /dev/null +++ b/.github/workflows/pr-push.yml @@ -0,0 +1,16 @@ +name: CI +on: + pull_request: {} + push: + branches: [gh-pages] +jobs: + main: + name: Build, Validate and Deploy + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - uses: w3c/spec-prod@v2 + with: + W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} + W3C_WG_DECISION_URL: "https://www.w3.org/2016/04/14-wpwg-minutes#item02" + CC: "${{ secrets.CC }}" From 5237fa4e7a41cc2b1c5f1c757e7f685dc2ca830c Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Thu, 1 Apr 2021 19:08:22 +0200 Subject: [PATCH 2/5] fix: replace deprecated `wg` with `group` --- index.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index be750d7..df99c5f 100644 --- a/index.html +++ b/index.html @@ -56,10 +56,8 @@ w3cid: 67785 }, ], - wg: "Web Payments Working Group", - wgURI: "https://www.w3.org/Payments/WG/", - wgPatentURI: "https://www.w3.org/2004/01/pp-impl/83744/status", - testSuiteURI: "https://w3c-test.org/payment-handler/", + group: "payments", + testSuiteURI: "https://wpt.live/payment-handler/", xref: "web-platform", }; From ff05e096062c11c59c5ef12cb1acc5a9e639d6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Tue, 6 Apr 2021 22:13:13 +1000 Subject: [PATCH 3/5] fixup W3C_NOTIFICATIONS_CC --- .github/workflows/pr-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-push.yml b/.github/workflows/pr-push.yml index 7de34af..8b5d72b 100644 --- a/.github/workflows/pr-push.yml +++ b/.github/workflows/pr-push.yml @@ -13,4 +13,4 @@ jobs: with: W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} W3C_WG_DECISION_URL: "https://www.w3.org/2016/04/14-wpwg-minutes#item02" - CC: "${{ secrets.CC }}" + W3C_NOTIFICATIONS_CC: "${{ secrets.CC }}" From 0485f3cd6920dc0ee3bca2984cce4457accfad87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Tue, 6 Apr 2021 22:15:35 +1000 Subject: [PATCH 4/5] runs on ubuntu latest --- .github/workflows/pr-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-push.yml b/.github/workflows/pr-push.yml index 8b5d72b..1f8a1c0 100644 --- a/.github/workflows/pr-push.yml +++ b/.github/workflows/pr-push.yml @@ -6,7 +6,7 @@ on: jobs: main: name: Build, Validate and Deploy - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: w3c/spec-prod@v2 From 009763249b1530824892ea5954906436735cb77b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Tue, 6 Apr 2021 22:22:06 +1000 Subject: [PATCH 5/5] Fix markup --- index.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index df99c5f..a9f739f 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + Payment Handler API @@ -2235,11 +2235,13 @@ <h2> <var>payerNameRequired</var>, <var>payerEmailRequired</var>, and <var>payerPhoneRequired</var> are true, respectively.): <ol> - For each <var>member</var>in <var>handlerResponse</var>Let - <var>serializeMember</var>be the result of <a data-cite= - "HTML#structuredserialize">StructuredSerialize</a>with - <var>handlerResponse</var>.<var>member</var>. Rethrow any - exceptions. + <li>For each <var>member</var>in + <var>handlerResponse</var>Let <var>serializeMember</var>be + the result of <a data-cite= + "HTML#structuredserialize">StructuredSerialize</a>with <var> + handlerResponse</var>.<var>member</var>. Rethrow any + exceptions. + </li> </ol> </li> <li>The user agent MUST run the <a>user accepts the payment @@ -2248,10 +2250,11 @@ <h2> <ol> <li>Deserialize serialized members: <ol> - For each <var>serializeMember</var>let + <li>For each <var>serializeMember</var>let <var>member</var>be the result of <a data-cite= "HTML#structureddeserialize">StructuredDeserialize</a>with <var>serializeMember</var>. Rethrow any exceptions. + </li> </ol> </li> <li>If any exception occurs in the above step, then run the