Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Creating pipelines zip archive in docs CI on every push to a PR branch

オープン 初心者向け
#714 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
github-actions

調査の方向性

.github/workflows/httomo_docs.yml から始め、43-45 行目および 56-60 行目のアーティファクト作成を、51 行目付近の docs のアップロード条件と併せて確認します。pipelines アーティファクトがリリースの場合にのみ作成されるように workflow の条件を調整し、その後、PR ブランチへの push ではそれがアップロードされず、リリース実行では引き続きアップロードされることを検証します。

索引モデルが issue の本文から書いたものです。

説明

ci

I noticed that there's an artifact getting uploaded as part of the docs build CI even if the CI wasn't triggered by a tag push:

https://github.com/DiamondLightSource/httomo/blob/899a43da8c63a1431d0804dcb48773be08b46710/.github/workflows/httomo_docs.yml#L43-L45

https://github.com/DiamondLightSource/httomo/blob/899a43da8c63a1431d0804dcb48773be08b46710/.github/workflows/httomo_docs.yml#L56-L60

The artifact isn't very big (taken from https://github.com/DiamondLightSource/httomo/actions/runs/24771337928/job/72478300291?pr=708):

With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
Uploaded bytes 16937
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact zip is 5e9dd090dcaad7c024f063b92dcd1c1b6e945ce80a57d2491132ba2461fd364a
Finalizing artifact upload
Artifact full_pipelines-artifact.zip successfully finalized. Artifact ID 6575004505
Artifact full_pipelines-artifact has been successfully uploaded! Final size is 16937 bytes. Artifact ID is 6575004505
Artifact download URL: https://github.com/DiamondLightSource/httomo/actions/runs/24771337928/artifacts/6575004505

but if this happens every time a push is done to a PR branch then this could accumulate, and I imagine it'd accumulate somewhere associated with the repo and it'll eventually reach a storage limit of some kind.

We probably want to only create this artifact for releases, which would be equivalent to something like the following condition used for the docs upload, just without the main part: https://github.com/DiamondLightSource/httomo/blob/899a43da8c63a1431d0804dcb48773be08b46710/.github/workflows/httomo_docs.yml#L51

主要言語
Python
スター
10
フォーク
5
平均マージ
6分
マージ済み PR(30日)
1

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DiamondLightSource/httomo のほかの issue

DiamondLightSource/httomo の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。