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

app_installations reports an error on every repo or suborg change when the plugin is not configured

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
64/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
backend

調査の方向性

lib/settings.js から始めてください。hasChangedConfigs が真のとき syncSelectedRepos が syncAppInstallations を呼び出しており、Enterprise 認証済みクライアントが必要になる箇所を見つけてください。組織、サブ組織、リポジトリのいずれのレベルにも app_installations の設定が存在しない場合、リポジトリに変更があってもプラグインが早期に return するようガードを追加してください。Enterprise のインストールも app_installations の設定もないリポジトリファイルに触れる PR または push が正常に完了し、設定が存在する既存のパスも引き続き動作すれば完了です。

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

説明

Version: 3.0.0

syncSelectedRepos always calls syncAppInstallations with the changed repos (lib/settings.js). Because hasChangedConfigs is true, the "No app_installations config found, skipping" early return never applies. Without an enterprise installation, every PR or push that touches a repo file fails with:

Cannot sync app installations: enterprise-authenticated client not available for '<enterprise>'.

This happens even when no app_installations config exists at any level. Settings are still applied, but the check run concludes failure.

Expected: skip the plugin when no app_installations is configured at the org, suborg, or repo level, even when repos changed.

Workaround: add disable_plugins: [app_installations] to deployment-settings.yml.

主要言語
JavaScript
スター
924
フォーク
227
平均マージ
6時間 8分
マージ済み PR(30日)
15

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

github-community-projects/safe-settings のほかの issue

github-community-projects/safe-settings の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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