How about changing interpretation of version string
未關閉
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 990
- 分支
- 369
- 平均合併
- 18 分鐘
- 30 天內合併 PR
- 3
描述
Many users who wants use 3.0.x write ruby-version: 3.0 by mistake.
3.0 interpreted as 3 on GitHub Actions.
For example, following workflow step prints 3 only.
env:
env_var: 3.0
run: |
set -x
echo ${env_var}
So I propose changing the meaning of 3 (and 3.0 on workflow files) use 3.0.x, and 3.x (or something) use latest 3.x.x.
After this change, many users can write 3.0 intentionally, and some (probably less) users who want use latest 3.x.x can write 3.x or something instead.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先追蹤 ruby-version input 在 GitHub Actions 工作流程檔案中的解讀方式,以回報的環境值 3.0 範例作為動機案例。定義並驗證 3、3.0 和 3.x 的預期含義,包括對現有工作流程相容性的影響。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- ci-cd
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100