You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had set-up the wrong credentials in ACCESS_TOKEN. With version 1.1 when doing git push, it printed the Git error, and the process failed.
With this new version in PHP, doing exec('git push --quiet origin ' . $config->getBranch()); also produces a Git error, but it is just printed on screen; the GitHub Action does not fail, so I get the ✔️ at the end of the run.
I had set-up the wrong credentials in
ACCESS_TOKEN
. With version1.1
when doinggit push
, it printed the Git error, and the process failed.With this new version in PHP, doing
exec('git push --quiet origin ' . $config->getBranch());
also produces a Git error, but it is just printed on screen; the GitHub Action does not fail, so I get the ✔️ at the end of the run.To fix it, something like this could work:
Or return
$result_code
?The text was updated successfully, but these errors were encountered: