new typescript actions creates artifacts in repo
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- github-actions, typescript
- 领域
- ci-cd
调研方向
首先跟踪 TypeScript action 创建 tailscale.tgz 和 tailscaled.pid 的过程,然后检查仓库的 .gitignore 以及 action runner 可用的 XDG 目录。确定一个位于本地仓库之外、适合存放这两个构件的位置,并验证更新文件的 action 可以在不包含这些构件的情况下打开 PR。
由索引模型根据 Issue 内容生成。
描述
The new typescript action creates artifacts in the local repo, the tailscale.tgz and tailscaled.pid files. In most cases, that's probably not a big deal, but for actions that are updating files in the local repo and then opening PRs, those files get included in the PR. For example, our internal http://go/golink-snapshot action. For now, I've added those to our .gitignore file, which is fine, but it might be nice to store those elsewhere if possible?
If you want to be really pedantic about it, tailscale.tgz should probably be put in XDG_CACHE_HOME (default: ~/.cache) and tailscaled.pid should be in XDG_RUNTIME_DIR, which I don't think has a canonical default. On my system, it's set to /run/user/1000, but that might be an arch thing. We might need to experiment with what gets set on action runners, or just simply putting it in ~/.cache too would likely be fine.
- 主要语言
- TypeScript
- 星标
- 938
- 派生
- 137
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tailscale/github-action 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
tailscale/github-action#283 · 1 条评论 · 1 个 reaction ·
-
fr
难度 3/5 1-2 天 新手友好度 68/100
tailscale/github-action#317 ·
-
难度 3/5 1-2 天 新手友好度 48/100
tailscale/github-action#316 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 52/100
tailscale/github-action#315 ·
-
难度 3/5 1-2 天 新手友好度 76/100
tailscale/github-action#313 · 1 个 reaction ·
查看 tailscale/github-action 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
copse-dev/agent-pane#2953 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
calcite-components needs triage refactor
难度 2/5 1-3 小时 新手友好度 75/100
Esri/calcite-design-system#15203 ·