Skip to content

Git error after some executions #143

Open
@Maykonn

Description

@Maykonn

The checkout action works fine (do the private repo checkout) until be executed I'm sure but something like 4 or 5 times. I mean, after some executions I'm getting the following output error of retries:

Run actions/checkout@v2
  with:
    repository: MyPrivate/Repo
    token: ***      # IT IS A GITHUB Personal Access Token
    ref: SRQ-644/SRQ-1099_php7_upgrade'
    path: test/test-path
    fetch-depth: 1
    persist-credentials: true
    clean: true
    lfs: false
Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
Syncing repository: MyPrivate/Repo
Working directory is '/home/runner/work/TestActionRepo/TestActionRepo/test/test-path'
/usr/bin/git version
git version 2.24.1
/usr/bin/git init /home/runner/work/TestActionRepo/TestActionRepo/test/test-path
Initialized empty Git repository in /home/runner/work/TestActionRepo/TestActionRepo/test/test-path/.git/
/usr/bin/git remote add origin https://github.com/MyPrivate/Repo # IT IS HYPOTHETICAL PRIVATE REPO URL
/usr/bin/git config --local gc.auto 0
/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/SRQ-644/SRQ-1099_php7_upgrade'*:refs/remotes/origin/SRQ-644/SRQ-1099_php7_upgrade'* +refs/tags/SRQ-644/SRQ-1099_php7_upgrade'*:refs/tags/SRQ-644/SRQ-1099_php7_upgrade'*
The process '/usr/bin/git' failed with exit code 1
Waiting 17 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/SRQ-644/SRQ-1099_php7_upgrade'*:refs/remotes/origin/SRQ-644/SRQ-1099_php7_upgrade'* +refs/tags/SRQ-644/SRQ-1099_php7_upgrade'*:refs/tags/SRQ-644/SRQ-1099_php7_upgrade'*
The process '/usr/bin/git' failed with exit code 1
Waiting 17 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/SRQ-644/SRQ-1099_php7_upgrade'*:refs/remotes/origin/SRQ-644/SRQ-1099_php7_upgrade'* +refs/tags/SRQ-644/SRQ-1099_php7_upgrade'*:refs/tags/SRQ-644/SRQ-1099_php7_upgrade'*
Removed matchers: 'checkout-git'
##[error]The process '/usr/bin/git' failed with exit code 1
##[error]Node run failed with exit code 1

As I said, this retries and then the output error happens randomly after some Action executions and then after I retry 2 or 3 times by clicking to re-run the action steps it eventually gets working again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions