-
-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Add milestoned issue backlogging #674
Conversation
b54ac94
to
2111b9a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改 ts 放 build 目录
加一行 毕竟它在 fork 上运行毫无意义 |
fork 没有 milestone 和 issue 的话不会触发这个的吧,但是可以,因为我代码里硬编码 shigma 了 |
介绍一下 build 目录是怎么工作的,你希望 ci 在哪里拿到编译好的 backlog.js,以及我要怎么让它编译到那里去 |
|
这是 CI 标准流程吗,需不需要指定一下要装的包(esbuild 和什么),如果全部都装的话,我就直接在 setup-node 里 cache: yarn 了,有一个问题是 install 的速度很大跟 ci 服务器有没有缓存有关系,(之前已经遇到但是忘记提了)导致如果短时间触发两次 action 的话,有可能第二个装完包跑完了第一个才开始跑,导致一点问题。(可能多装一点包还能拉平这个装包时间(( |
確實,最好加個 cache( |
这个 cache 它是需要 lock 的,我们是否已经有一个给 ci 用的 lock 了? |
直接設置讓 yarn 忽略 lock 吧,比如可以用 --no-lockfile ? EDIT:啊,我理解錯了問題。他不是需要 lock,他只是需要一個文件讓他能夠 generate 出 hash,讓他能找到最匹配的版本。你直接用 package.json 也可以的。 |
拆出来开仓库测过了 |
.github/workflows/backlog.yml
Outdated
- name: Backlog | ||
uses: H4M5TER/milestone-backlog@v1.0 | ||
with: | ||
token: ${{ secrets.BACKLOG_PAT }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
token: ${{ secrets.BACKLOG_PAT }} | |
token: ${{ secrets.WORKFLOW_TOKEN }} |
.github/workflows/backlog.yml
Outdated
issues: | ||
types: | ||
- "milestoned" | ||
- "demilestoned" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
引号删掉吧
已经跑通了,配一下 secrets.BACKLOG_PAT