GitHub App for publishing code does NOT see a public repository

6 vues (au cours des 30 derniers jours)
Ugo Pattacini
Ugo Pattacini le 6 Fév 2024
Commenté : Ugo Pattacini le 29 Fév 2024
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 commentaires
Ugo Pattacini
Ugo Pattacini le 6 Fév 2024
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.

Connectez-vous pour commenter.

Réponse acceptée

Gyan Vaibhav
Gyan Vaibhav le 29 Fév 2024
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 commentaire
Ugo Pattacini
Ugo Pattacini le 29 Fév 2024
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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Package and Share Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by