Skip to content

Commit 9cab16e

Browse files
authored
ci: publish scoped @open-gitagent/opengap only (#85)
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.
1 parent 22fc939 commit 9cab16e

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
env:
2929
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3030

31-
- name: Publish opengap (unscoped alias)
32-
run: |
33-
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));"
34-
npm publish --provenance --access public
35-
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31+
# Note: the unscoped root name "opengap" cannot be published — npm rejects
32+
# it as too similar to the existing "openai" package (typosquatting guard,
33+
# E403). The package is published under the scoped name only.

0 commit comments

Comments
 (0)