GitHub App for publishing code does NOT see a public repository

2 ビュー (過去 30 日間)
Ugo Pattacini
Ugo Pattacini 2024 年 2 月 6 日
コメント済み: Ugo Pattacini 2024 年 2 月 29 日
Apparently, the MathWorks GitHub App used to publish code up to File Exchange is unable to see one public repository hosted in a GitHub organization I'm owner of, although I granted it all the necessary privileges.
The repository in question is:
By contrast, the GitHub App is able to list other public repositories of the same organization. One example:
Is there anything I'm missing?
  2 件のコメント
Ugo Pattacini
Ugo Pattacini 2024 年 2 月 6 日
Indeed, it's a public repository hence visible to anyone, just like the second repository I referenced.
Nevertheless, I'm unable to push the first one to File Exchange as the MathWorks GitHub App does not list it in the available resources within its dashboard.
Instead, the second public repository is correctly available in the dashboard.

サインインしてコメントする。

採用された回答

Gyan Vaibhav
Gyan Vaibhav 2024 年 2 月 29 日
Hi Ugo,
I tried forking your repository, and I was able to access it in the dashboard in MATLAB file exchange. So this problem probably seems to be something unique, that you are facing. If you have been using this app from earlier, then have you made any changes in the configuration related to apps or maybe in the security policies of your Github account?
Here are a few things you can try if you haven't:
  1. Try toggling the access of the Mathworks Github App to "all repositories" from "selected repositories".
  2. Try uninstalling the Mathworks Github App, and then reinstalling it.
  3. Try if any other apps installed are working on the repository correctly.
  4. Contact Mathworks Support.
PS: It is unrelated but have you enabled 2FA on Github, try doing that just in case.
Thanks
Gyan
  1 件のコメント
Ugo Pattacini
Ugo Pattacini 2024 年 2 月 29 日
Thanks heaps @Gyan Vaibhav
I finally managed to publish the work following your advice:
The GitHub App was already configured to "all repositories". The trick was to switch it to a single selected repository and then switch it back to "all repositories".
Thanks again!
Ugo

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePackage and Share Apps についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by