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

Feature request: make push optional

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
git, javascript, terraform
領域
release

調査の方向性

ファイルもテストも指定されていません。まず git プラグインの commit と push の処理および設定処理を見つけ、その後、そのフローに対する既存のテストを確認します。完了条件は、現在のデフォルト動作を維持したまま push をスキップできる設定オプションを追加し、push を実行する場合とスキップする場合の両方をカバーすることです。

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

説明

Problem

I'm trying to use semantic-release with semantic-release-monorepo to automate release process of Terraform modules in monorepo hosted on Azure DevOps. I've got the solution working in most cases, except when I merge a PR that changes multiple modules at the same time. The first module to run thought semantic-release to the end pushes changes to remote repository and next module is failing with: "The local branch main is behind the remote one, therefore a new version won't be published."

Solution

Configure automation for every individual module to only commit changes locally but not push them to remote repository until all modules are processed and all changes accumulated in the local repository. After that do one push for all changes at once.

Issue

It seems like git plugin for semantic-release cannot be configured to skip the push after commit. This all happens in the same processing step.
I understand that my use case is pretty unique, but I think making push optional defaulting to true is also not a huge change.

主要言語
JavaScript
スター
339
フォーク
74
平均マージ
8時間 54分
マージ済み PR(30日)
7

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

semantic-release/git のほかの issue

semantic-release/git の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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