Skip to content

[Bug] Error with Github Workflow #1454

@MoMohsen-vcloud

Description

@MoMohsen-vcloud

Bug report

Please note: All issues must be submitted in English. If not, they will be closed automatically.

What I did

I'm using my everyday github workflow to deploy

What I expected to happen

The expected behaviour that the it runs and download packages in order to build

What happened

In Git.php line 604:

Failed to execute git clone --mirror -- ***git
hub.com/Laravel-Backpack/PRO.git /home/runner/.cache/composer/vcs/git-githu
b.com-Laravel-Backpack-PRO.git/

Cloning into bare repository '/home/runner/.cache/composer/vcs/git-github.c
om-Laravel-Backpack-PRO.git'...
remote: Invalid username or token. Password authentication is not supported
for Git operations.
fatal: Authentication failed for 'https://github.com/Laravel-Backpack/PRO.g
it/'

What I've already tried to fix it

I tried multiple ways to authenticate and still getting same error

Is it a bug in the latest version of Backpack?

After I run composer install the bug:
Failed to execute git clone --mirror -- ***git
hub.com/Laravel-Backpack/PRO.git /home/runner/.cache/composer/vcs/git-githu
b.com-Laravel-Backpack-PRO.git/

Cloning into bare repository '/home/runner/.cache/composer/vcs/git-github.c
om-Laravel-Backpack-PRO.git'...
remote: Invalid username or token. Password authentication is not supported
for Git operations.
fatal: Authentication failed for 'https://github.com/Laravel-Backpack/PRO.g
it/'

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

PHP VERSION:

8.3.25

PHP EXTENSIONS:

Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, FFI, fileinfo, filter, ftp, gd, gettext, gmp, json, iconv, intl, SPL, ldap, mbstring, session, standard, odbc, pcntl, exif, mysqlnd, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, random, readline, Reflection, mysqli, shmop, SimpleXML, soap, sockets, sodium, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, Zend OPcache

LARAVEL VERSION:

10.50.0.0

BACKPACK PACKAGE VERSIONS:

backpack/basset: 1.3.9
backpack/crud: 6.8.10
backpack/pro: 2.2.36
backpack/theme-coreuiv2: 1.2.8

Additional Information

Here's some more info that could be helpful in reproducing or debugging:

  • **Environment details (e.g., operating system, web server, browser): linux runner
  • Steps to reproduce the issue (if possible): Push to branch to execute workflow
  • Relevant error logs or screenshots (if any): ??

Note: Issues that cannot be reproduced or lack necessary details to diagnose could be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions