From 9c1fe57287c643c65253f6d865bdc6ae527ad394 Mon Sep 17 00:00:00 2001 From: Kaitlyn Date: Fri, 6 Nov 2026 14:35:06 -0500 Subject: [PATCH] docs(contributing): add the permission flag npm trust needs npm trust github refuses to run without --allow-publish or --allow-stage-publish. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 02a0b2e..6db63c2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -162,7 +162,7 @@ npm publishing works without a token once npm Trusted publishing trusts this rep ```sh npm login -npm trust github @kaitlynbassford/gitwhy --repo dpologdvinity/gitwhy --file release.yml +npm trust github @kaitlynbassford/gitwhy --repo dpologdvinity/gitwhy --file release.yml --allow-publish gh secret delete NPM_TOKEN -R dpologdvinity/gitwhy # once npmjs.com shows the next version came from the trusted publisher ```