[Geoserver-devel] github workflow scope

I am getting an interesting error message when trying to publish a local branch to my GitHub fork:

% git push origin mbstyle
Enumerating objects: 105, done.
Counting objects: 100% (105/105), done.
Delta compression using up to 8 threads
Compressing objects: 100% (61/61), done.
Writing objects: 100% (70/70), 7.77 KiB | 1.94 MiB/s, done.
Total 70 (delta 38), reused 0 (delta 0)
remote: Resolving deltas: 100% (38/38), completed with 26 local objects.
To https://github.com/jodygarnett/geoserver.git
! [remote rejected] mbstyle → mbstyle (refusing to allow an OAuth App to create or update workflow .github/workflows/macos.yml without workflow scope)
error: failed to push some refs to ‘https://jodygarnett@anonymised.com…/jodygarnett/geoserver.git

Any suggestions? This is the first time I have had trouble …

···


Jody Garnett

Even just cloning master, and pushing up to my fork produces the above message.

···


Jody Garnett

Hi Jody,
I’m not getting the message myself… different security configuration?
Using the error message as a search key in Google I got to this one:
https://github.com/desktop/desktop/issues/7079

I’m not using Github desktop at all, just plain command line git… maybe you do?

Cheers
Andrea

···

Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

I am just using command line git and having this problem.

Okay changing my remote to “git@anonymised.com:jodygarnett/geoserver.git” from “https://github.com/jodygarnett/geoserver.git” solved the problem. Must be some extra security checks now that the git repo includes some workflow instructions.

···


Jody Garnett

Hi Jody,

had to switch to ssh too on LInux, but in my case it was right after I switched to 2FA, it was just not authenticating me.
On Windows it kept on working with https too, and it was activating the 2FA properly… and every time I had to do a commit, pretty annoying :smiley:

Cheers
Andrea

···

Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.