codeigniter4 / translations

System message translations for CodeIgniter4
https://codeigniter4.github.io/translations/
MIT License
197 stars 206 forks source link

Dev: `composer update` in GitHub Actions always fail #408

Open kenjis opened 1 year ago

kenjis commented 1 year ago
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

MGatner commented 1 year ago

Might just need to set the key in repo secrets.

kenjis commented 10 months ago
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 commented 10 months ago

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 commented 9 months ago

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 commented 9 months ago

Every time we get the same error.

Might just need to set the key in repo secrets.

What key do we set?

paulbalandan commented 9 months ago

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

paulbalandan commented 3 months ago

I think this has no longer been the case.