Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

split workflows: ci.yml, release.yml, publish-skill.yml (all support manual dispatch)

L7c7f90a28d16
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 57740a70..947d9a6d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,7 +3,6 @@ name: CI
on:
push:
branches: [main]
- tags: ['v*']
pull_request:
branches: [main]
@@ -59,55 +58,3 @@ jobs:
uses: golangci/golangci-lint-action@v7
with:
version: v2.9.0
-
- release:
- name: Release
- if: startsWith(github.ref, 'refs/tags/v')
- needs: [build, lint]
- runs-on: ubuntu-latest
- permissions:
- contents: write
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
-
- - uses: actions/setup-go@v5
- with:
- go-version: '1.25'
-
- - uses: goreleaser/goreleaser-action@v6
- with:
- version: latest
- args: release --clean
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- publish-skill:
- name: Publish Skill to ClawHub
- if: startsWith(github.ref, 'refs/tags/v')
- needs: [build, lint]
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
-
- - uses: actions/setup-node@v4
- with:
- node-version: '22'
-
- - name: Install ClawHub CLI
- run: npm i -g clawhub
-
- - name: Publish skill
- run: |
- VERSION=${GITHUB_REF_NAME#v}
- clawhub publish skill/pinchtab \
- --slug pinchtab \
- --name "Pinchtab" \
- --version "$VERSION" \
- --changelog "Release $GITHUB_REF_NAME" \
- --tags latest \
- --token "$CLAWHUB_TOKEN" \
- --no-input
- env:
- CLAWHUB_TOKEN: ${{ secrets.CLAWHUB_TOKEN }}
diff --git a/.github/workflows/publish-skill.yml b/.github/workflows/publish-skill.yml
new file mode 100644
index 00000000..104d5ab8
--- /dev/null
+++ b/.github/workflows/publish-skill.yml
@@ -0,0 +1,42 @@
+name: Publish Skill
+
+on:
+ push:
+ tags: ['v*']
+ workflow_dispatch:
+ inputs:
+ version:
+ description: 'Skill version (e.g. 0.2.0, without v prefix)'
+ required: true
+
+jobs:
+ publish:
+ name: Publish to ClawHub
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version: '22'
+
+ - name: Install ClawHub CLI
+ run: npm i -g clawhub
+
+ - name: Publish skill
+ run: |
+ if [ -n "${{ github.event.inputs.version }}" ]; then
+ VERSION="${{ github.event.inputs.version }}"
+ else
+ VERSION=${GITHUB_REF_NAME#v}
+ fi
+ clawhub publish skill/pinchtab \
+ --slug pinchtab \
+ --name "Pinchtab" \
+ --version "$VERSION" \
+ --changelog "Release v$VERSION" \
+ --tags latest \
+ --token "$CLAWHUB_TOKEN" \
+ --no-input
+ env:
+ CLAWHUB_TOKEN: ${{ secrets.CLAWHUB_TOKEN }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 00000000..85b33f45
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,33 @@
+name: Release
+
+on:
+ push:
+ tags: ['v*']
+ workflow_dispatch:
+ inputs:
+ tag:
+ description: 'Tag to release (e.g. v0.2.0)'
+ required: true
+
+jobs:
+ release:
+ name: Release Binaries
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ ref: ${{ github.event.inputs.tag || github.ref }}
+
+ - uses: actions/setup-go@v5
+ with:
+ go-version: '1.25'
+
+ - uses: goreleaser/goreleaser-action@v6
+ with:
+ version: latest
+ args: release --clean
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}