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

Automatically configured JFROG_CLI_BUILD_NAME not specific enough

オープン
#159 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
github-actions, typescript
領域
ci-cd

調査の方向性

JFROG_CLI_BUILD_NAME が GITHUB_WORKFLOW から導出されている、参照されている行の src/utils.ts を読んでください。ビルド名をリポジトリ固有にする前に、既存のプロジェクトテストを確認してください。異なるリポジトリのビルドが、同じ自動設定された名前を共有しなくなったら、作業完了とみなします。

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

説明

feature request
Is your feature request related to a problem? Please describe.

Hi,

We are running into the issue that the automatically configured JFROG_CLI_BUILD_NAME which is currently set to the workflow name is not specific enough.

We have a lot of repositories, all publishing to the same project in JFROG into the same build-info repository. If we examine the build-info repository all build names for all repositories are the same: "CI/CD", since all repositories have the same name for the CI/CD workflow.

Describe the solution you'd like to see

I think it would make sense to include the repository name as well besides the workflow name.

https://github.com/jfrog/setup-jfrog-cli/blob/ac320860ee08886f9762fc8eb4186f994deadecb/src/utils.ts#L344C1-L345C1
let buildNameEnv: string | undefined = process.env.GITHUB_WORKFLOW;
to

let buildNameEnv: string | undefined = process.env.GITHUB_REPOSITORY + '/' + process.env.GITHUB_WORKFLOW;
This would allow us to identify the build-info by its name, instead of having

Describe alternatives you've considered

The alternative would be to require all teams to add an extra run step to their workflows overriding the too generic JFROG_CLI_BUILD_NAME.

Additional context

No response

主要言語
TypeScript
スター
267
フォーク
111
平均マージ
10分
マージ済み PR(30日)
3

環境構築

はじめの一歩

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

jfrog/setup-jfrog-cli のほかの issue

jfrog/setup-jfrog-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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