mirror of
https://github.com/Dasemu/remote-mcp-manager.git
synced 2026-11-27 07:46:35 +00:00
chore: bootstrap Claude setup
Add root CLAUDE.md, docs/architecture.md, .claude/settings.json hooks (PostToolUse type-check, Stop build+test gate), and a version.yml workflow alongside the existing ci.yml (now also builds apps/web and scopes triggers to master). Record bootstrap version 2. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f11a23fb00
commit
3731f24a96
7 files changed
+144
No files matched your search
@@ -0,0 +1,41 @@
|
||||
name: Version
|
||||
|
||||
# This repo has no `development` branch yet: every push to `master` is treated as a
|
||||
# direct push and bumps PATCH. Once `development` exists, split this into a PATCH bump
|
||||
# on push to `development` and a MINOR bump on a `development` -> `master` merge, per
|
||||
# the global CLAUDE.md versioning rules.
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
bump:
|
||||
if: github.actor != 'claude' && !contains(github.event.head_commit.message, '[skip ci]')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Bump PATCH version
|
||||
run: |
|
||||
set -e
|
||||
VERSION_FILE="VERSION"
|
||||
if [ ! -f "$VERSION_FILE" ]; then
|
||||
echo "0.1.0" > "$VERSION_FILE"
|
||||
fi
|
||||
IFS='.' read -r MAJOR MINOR PATCH < "$VERSION_FILE"
|
||||
PATCH=$((PATCH + 1))
|
||||
echo "${MAJOR}.${MINOR}.${PATCH}" > "$VERSION_FILE"
|
||||
echo "NEW_VERSION=${MAJOR}.${MINOR}.${PATCH}" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Commit and push
|
||||
run: |
|
||||
git config user.name "claude"
|
||||
git config user.email "noreply@anthropic.com"
|
||||
git add VERSION
|
||||
git commit -m "chore(release): v${NEW_VERSION} [skip ci]"
|
||||
git push origin HEAD:master
|
||||
Reference in new issue
Block a user