Make dry-run publish steps' labeling more explicit

未關閉 適合新手
#208 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
73/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
github-actions
領域
ci-cd, release

研究方向

檢查 .github/workflows/deploy.yml 和 .github/actions/deploy,以及目前重複 deploy 步驟的工作流程。更新發佈步驟的標籤,使 dry run 獲得明顯標示,然後執行受影響的 GitHub Actions 工作流程,以確認 job 名稱傳達出未進行實際上傳這一點。

由索引模型根據 Issue 內容生成。

描述

enhancement good first issue infrastructure

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.

主要語言
Python
星號
0
分支
0
平均合併
17 小時 2 分鐘
30 天內合併 PR
959

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

riseproject-dev/python-wheels 的其他 Issue

查看 riseproject-dev/python-wheels 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。