Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/auto-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,22 @@ jobs:
- name: Open PR dev -> main if not exists
env:
GH_TOKEN: ${{ secrets.AUTO_PR_TOKEN }}
PR_BODY: |
### Auto-generated PR
Merge latest `dev` changes into `main` to trigger a release.

> **⚠️ Important:** When you click Squash and Merge, ensure the commit message starts with:
> - `fix:` to publish a Patch release (0.0.X)
> - `feat:` to publish a Minor release (0.X.0)
> If it starts with `chore:`, no NPM package will be published!
run: |
PR=$(gh pr list --base main --head dev --state open --json number -q '.[0].number')
if [ -z "$PR" ]; then
gh pr create \
--base main \
--head dev \
--title "chore: merge dev into main" \
--body "### Auto-generated PR
Merge latest \`dev\` changes into \`main\` to trigger a release.

> Squash and merge to keep a clean history."
--title "fix: merge latest dev updates into main" \
--body "$PR_BODY"
echo "PR created."
else
echo "PR #$PR already open, skipping."
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/nadav-node9/node9-proxy.git"
"url": "git+https://github.com/node9-ai/node9-proxy.git"
},
"bugs": {
"url": "https://github.com/nadav-node9/node9-proxy/issues"
"url": "https://github.com/node9-ai/node9-proxy/issues"
},
"homepage": "https://github.com/nadav-node9/node9-proxy#readme",
"homepage": "https://github.com/node9-ai/node9-proxy#readme",
"keywords": [
"ai-security",
"mcp",
Expand Down