Giter Site home page Giter Site logo

[RFC] PR 自动构建 bot about iproxy HOT 4 CLOSED

xcodebuild avatar xcodebuild commented on July 24, 2024
[RFC] PR 自动构建 bot

from iproxy.

Comments (4)

xcodebuild avatar xcodebuild commented on July 24, 2024

实现上比较麻烦,另外 PR 构建有些麻烦,如果是三方提交的 PR 自动触发可以上传文件的 build,意味着可能会做更多不安全的事情。

我们做一个 master 分支的 nightly build 就可以了。

from iproxy.

7sDream avatar 7sDream commented on July 24, 2024

可以考虑用 bors bot

这个的原理是,如果一个 PR 被管理员回复了 bors r+,会自动把 PR 合到一个特殊的分支 trying,然后跑 Github Actions,如果全都成功,才会把 PR 的分支合到 master 上去。

如果回复的是 bors try,就只会执行合 trying 和跑 Github Action,然后把跑完的链接回复到 PR 里。

一个 PR 例子:7sDream/fontfor#39 ,我一般就直接 r+ 了。

但是配置起来可能稍微有点麻烦,可以参考之前我的一个项目配置这个机器人的 PR

from iproxy.

xcodebuild avatar xcodebuild commented on July 24, 2024

PR 自动构建搞定了,#4 是第一个例子

from iproxy.

xcodebuild avatar xcodebuild commented on July 24, 2024

Nightly 的每夜构建也 ok 了(虽然今天不知道为什么没触发),下载地址在 https://nightly.link/xcodebuild/iProxy/workflows/nightly/master

from iproxy.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.