← 返回
未分类 Key

Istore Build Passwall

克隆 istoreos 仓库,创建 PassWall GitHub Actions 构建 workflow 并推送到指定 GitHub 仓库。触发词:构建 PassWall、istore-build-passwall、创建 PassWall workflow
克隆 istoreos仓库,创建 PassWall 的 GitHub Actions 工作流并推送到指定仓库。触发词:构建 PassWall、istore-build-passwall、创建 PassWall workflow
veelove veelove 来源
未分类 clawhub v1.0.4 2 版本 100000 Key: 需要
★ 0
Stars
📥 336
下载
💾 0
安装
2
版本
#automation#istoreos#latest#openwrt#passwall#router

概述

istore-build-passwall

将 PassWall 构建 workflow 添加到用户的 istoreos fork 仓库。

工作流程

  1. 收集配置 — 请求用户的 GitHub 仓库地址和 Personal Access Token
  2. 克隆 istoreos 官方仓库 — 从 https://github.com/istoreos/istoreos.git 克隆完整内容
  3. 添加 remote — 将用户的 fork 添加为 origin
  4. 写入 workflow — 创建 .github/workflows/build-passwall.yml
  5. 推送 — 提交并强制推送到用户的仓库(覆盖原有内容)
  6. 设置 Workflow permissions — 通过 GitHub API 开启 Read and write permissions 和 Allow GitHub Actions to create and approve pull requests

使用前提

  • 已在 GitHub 上 fork istoreos/istoreos
  • 生成了 Personal Access Token(需开启 repo 权限)

获取 GitHub Token

  1. 访问 https://github.com/settings/tokens/new
  2. 选择 Generate new token (classic)
  3. 勾选 repo 权限
  4. 生成后复制 Token

提示用户输入

当用户触发此 skill 时,要求提供:

  • GitHub 仓库地址:格式 https://github.com/YOUR_USER/istoreos.git
  • Personal Access Token:用于推送代码和设置仓库权限

执行步骤

1. 克隆官方仓库(完整历史)

git clone https://github.com/istoreos/istoreos.git <临时目录>
cd <临时目录>

2. 添加用户 fork 为 origin

git remote add origin https://github.com/<USER>/istoreos.git
# 或如果 origin 已存在则修改 URL
git remote set-url origin https://<TOKEN>@github.com/<USER>/istoreos.git

3. 写入 workflow 文件

references/build-passwall.yml 复制到 .github/workflows/build-passwall.yml

4. 提交并推送

git add .
git commit -m "Add PassWall build workflow"
git push -u origin main --force

5. 设置 Workflow permissions(通过 GitHub API)

# 设置 default_workflow_permissions 为 write
curl -s -X PUT \
  -H "Authorization: token <TOKEN>" \
  -H "Accept: application/vnd.github+json" \
  https://api.github.com/repos/<USER>/istoreos/actions/permissions/workflow \
  -d '{"default_workflow_permissions":"write","can_approve_pull_request_reviews":true}'

推送后告诉用户

  • istoreos 官方仓库内容 + PassWall workflow 已推送
  • 可在 GitHub Actions 页面手动触发构建
  • 选择架构后等待构建完成
  • 下载 .run 文件到路由器执行即可

版本历史

共 2 个版本

  • v1.0.4 当前
    2026-05-09 04:04 安全
  • v1.0.2
    2026-05-08 13:42 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 182,114
data-analysis

iKuai 流量报表

veelove
基于 iKuai路由器的 ikuai-cli JSON,生成含 5 标签页、Chart.js 动画图表的可视化 HTML 流量报表。触发词:生成/创建/构建 iKuai HTML 报表、爱快流量报表、ikuai report、ikuai-t
★ 1 📥 497
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 679 📥 328,287