translations icon indicating copy to clipboard operation
translations copied to clipboard

Dev: `composer update` in GitHub Actions always fail

Open kenjis opened this issue 2 years ago • 7 comments

Run composer update --ansi
Loading composer repositories with package information
Error: Could not authenticate against github.com

In AuthHelper.php line 132:
                                             
  Could not authenticate against github.com  
                                             

update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]

Error: Process completed with exit code 255.

https://github.com/codeigniter4/translations/actions/runs/6407644149/job/17394869633?pr=407

kenjis avatar Oct 05 '23 00:10 kenjis

Might just need to set the key in repo secrets.

MGatner avatar Oct 08 '23 10:10 MGatner

Run composer update --ansi
Loading composer repositories with package information
Error: Could not authenticate against github.com

In AuthHelper.php line 132:
                                             
  Could not authenticate against github.com  
                                             

update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]

Error: Process completed with exit code 255.

https://github.com/codeigniter4/translations/actions/runs/7092930317/job/19306120877?pr=417

kenjis avatar Dec 04 '23 22:12 kenjis

See https://github.com/codeigniter4/translations/actions/runs/7092930311/job/19306121136?pr=417 Three "Automatic Review on Code" failed. But "Automatic Review on License" passed. What's the difference?

kenjis avatar Dec 04 '23 22:12 kenjis


Run composer update --ansi
Loading composer repositories with package information
Error: Could not authenticate against github.com

In AuthHelper.php line 132:
                                             
  Could not authenticate against github.com  
                                             

update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]

Error: Process completed with exit code 255.

https://github.com/codeigniter4/translations/actions/runs/7465875441/job/20316720161

kenjis avatar Jan 11 '24 00:01 kenjis

Every time we get the same error.

Might just need to set the key in repo secrets.

What key do we set?

kenjis avatar Jan 17 '24 00:01 kenjis

We are just using secrets.GITHUB_TOKEN as we cannot use PATs for PRs.

paulbalandan avatar Jan 17 '24 00:01 paulbalandan

I think this has no longer been the case.

paulbalandan avatar Jul 22 '24 18:07 paulbalandan

composer has been working fine for a long time now. closing

paulbalandan avatar Nov 15 '24 15:11 paulbalandan