Replace usage of arrays when there is a single item in the dependency list
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
調査の方向性
GitHub Actions のジョブ依存関係に関する recipe のエントリーポイントを見つけ、issue の変更前後の YAML を開始時のテスト fixture として使用します。単一要素の needs 配列がスカラー値になる一方で、複数のエントリを含む配列は変更されないことを確認します。両方のケースをカバーするため、recipe のテストを追加または更新します。
索引モデルが issue の本文から書いたものです。
説明
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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openrewrite/rewrite-github-actions のほかの issue
-
enhancement recipe
難易度 5/5 1週間以上 初心者へのやさしさ 48/100
openrewrite/rewrite-github-actions#195 · コメント 1 件 ·
-
recipe
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
recipe
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
Do not use `gradle/actions/setup-gradle` with `arguments`; replace with two steps対応中かも @Wanbinyu が 30 日前に担当しました。 オープンrecipe
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
openrewrite/rewrite-github-actions#100 · コメント 1 件 ·
-
recipe
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
openrewrite/rewrite-github-actions#90 · リアクション 1 件 ·
openrewrite/rewrite-github-actions の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/rocketmq-dashboard#6896 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenIntegrationEngine/engine#496 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
SasanLabs/VulnerableApp#836 ·
メンテナーはふだん 1 日以内に返信