riseproject-dev / riseproject-dev/python-wheels
Make dry-run publish steps' labeling more explicit
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 0
- フォーク
- 0
- 平均マージ
- 16時間 14分
- マージ済み PR(30日)
- 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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
.github/workflows/deploy.yml と .github/actions/deploy、および現在 deploy の手順を重複して実行しているワークフローを確認します。dry run が目立つように示されるよう publish ステップのラベル付けを更新し、その後、対象の GitHub Actions workflow を実行して、実際のアップロードが行われなかったことがジョブ名から伝わることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github-actions
- 領域
- ci-cd, release
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 73/100