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

Replace usage of arrays when there is a single item in the dependency list

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

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

評価

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

調査の方向性

GitHub Actions のジョブ依存関係に関する recipe のエントリーポイントを見つけ、issue の変更前後の YAML を開始時のテスト fixture として使用します。単一要素の needs 配列がスカラー値になる一方で、複数のエントリを含む配列は変更されないことを確認します。両方のケースをカバーするため、recipe のテストを追加または更新します。

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

説明

enhancement recipe

What problem are you trying to solve?

Improve readability of the workflow

What precondition(s) should be checked before applying this recipe?

There is one single item within the needs block and an array is used

The recipe should not be applied if there are multiple entries


  docker-build:
    needs: [ maven, slack ]
    uses: ...

Describe the situation before applying the recipe


  docker-build:
    needs: [ maven ]
    uses: ...

Describe the situation after applying the recipe


  docker-build:
    needs: maven
    uses: ...

主要言語
Java
スター
1
フォーク
9
平均マージ
7時間 23分
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

openrewrite/rewrite-github-actions のほかの issue

openrewrite/rewrite-github-actions の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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