From d1abb717ccc03dd40cc1d74977f59f259dfbfa6c Mon Sep 17 00:00:00 2001 From: shreyas-lyzr Date: Sun, 24 May 2026 13:31:12 -0400 Subject: [PATCH] ci: publish scoped @open-gitagent/opengap only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit npm rejects the unscoped root name 'opengap' with E403 (too similar to 'openai' — typosquatting guard). Removed the unscoped publish step so the release workflow no longer fails. Package ships under the scoped name. --- .github/workflows/publish.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 91f68d6..56a1b19 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,9 +28,6 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Publish opengap (unscoped alias) - run: | - node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));p.name='opengap';fs.writeFileSync('package.json',JSON.stringify(p,null,2));" - npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + # Note: the unscoped root name "opengap" cannot be published — npm rejects + # it as too similar to the existing "openai" package (typosquatting guard, + # E403). The package is published under the scoped name only.