riseproject-dev / riseproject-dev/python-wheels

Make dry-run publish steps' labeling more explicit

未关闭 适合新手
#208 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement good first issue infrastructure
主要语言
Python
星标
0
派生
0
平均合并
16 小时 14 分钟
30 天内合并 PR
952

描述

From https://github.com/riseproject-dev/python-wheels/pull/204#discussion_r3734442848:

not strictly related to this PR, but what about having a ./.github/workflows/deploy.yml workflow that would contains this to avoid copying it in each individual workflow?

The other benefit is that inside this file we could do something like:

  • name: Deploy${{ github.ref != 'refs/heads/main' && ' (dry run)' || '' }}
    uses: ./.github/actions/deploy
    with:
    dry-run: ${{ github.ref != 'refs/heads/main' }}

So the name of the job will actually contain "(dry run)" . Right now, we have the impression that the publish job succeeded and correctly uploaded file on the registry


Further deploy changes probably aren't worth the effort, but taking Julien's suggestion to make the dry-run labeling more explicit would be helpful for our PRs.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

检查 .github/workflows/deploy.yml 和 .github/actions/deploy,以及当前重复 deploy 步骤的工作流。更新发布步骤的标记,使 dry run 得到明显标注,然后运行受影响的 GitHub Actions 工作流,以确认 job 名称传达出未进行实际上传这一点。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions
领域
ci-cd, release
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
73/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。