GitHub App for publishing code does NOT see a public repository

6 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by