From fe9df570e3afaeca7467bffc22b2ef068ba679a4 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Mon, 9 Nov 2026 13:14:56 -0800 Subject: [PATCH 1/2] Declare the repository in the wasip1 package manifest npm rejects provenance for packages whose repository.url does not match the repository that built them. The platform packages inherit it from the main package, but the wasip1 package has its own manifest without one, so publishing the PR build failed on it. --- packages/typescript-wasip1-wasm/package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/typescript-wasip1-wasm/package.json b/packages/typescript-wasip1-wasm/package.json index aa1755ac9b014..9fa3bfddbc2c3 100644 --- a/packages/typescript-wasip1-wasm/package.json +++ b/packages/typescript-wasip1-wasm/package.json @@ -5,6 +5,10 @@ "license": "Apache-2.0", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", + "repository": { + "type": "git", + "url": "https://github.com/microsoft/TypeScript.git" + }, "description": "Experimental TypeScript support for wasip1/wasm", "type": "module", "files": [ From e1ad4e84559a50d39e59fa380a4101f51cbb7770 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Mon, 9 Nov 2026 13:14:57 -0800 Subject: [PATCH 2/2] Let the PR build report comment on pull requests Creating a comment on a pull request through the issues API needs pull_requests write access in addition to issues, so the report job could not post its result. --- .github/workflows/pr-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 46d602ed2519e..31cf12fcfa45d 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -275,6 +275,7 @@ jobs: owner: microsoft repositories: TypeScript permission-issues: write + permission-pull-requests: write - name: Check build result env: PUBLISH_RESULT: ${{ needs.publish.result }}