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

The build fails if any private repository is used as a dependency

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

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

評価

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

調査の方向性

.github/workflows/swift_package_test.yml から始め、checkout ステップと、プライベートな Swift パッケージ依存関係の処理を調査します。プライベートリポジトリの依存関係を使って失敗を再現し、その後、issue で提案されている SSH-agent 設定を使って workflow がその依存関係にアクセスでき、正常に完了することを確認します。

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

説明

If any private repository is used as a dependency in a project, the following error appears after running swift_package_test.yml:

fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.

This issue can be resolved by adding this action as a new step before checkout step:

- name: Add keys to ssh-agent
        uses: webfactory/ssh-agent@v0.7.0
        with:
          ssh-private-key: |
            ${{ secrets.YOUR_SECRET_HERE }}

I am happy to provide a PR, if that would be useful.

主要言語
Swift
スター
115
フォーク
57
平均マージ
1日 8時間
マージ済み PR(30日)
3

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

swiftlang/github-workflows のほかの issue

swiftlang/github-workflows の issue をすべて見る

似ている issue

Swift の issue をもっと見る

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

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