GitHub App for publishing code does NOT see a public repository

조회 수: 2 (최근 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에서 Package and Share Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by