Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error reporting for no such reference #1660

Open
jsoref opened this issue Mar 15, 2024 · 0 comments
Open

Improve error reporting for no such reference #1660

jsoref opened this issue Mar 15, 2024 · 0 comments

Comments

@jsoref
Copy link
Contributor

jsoref commented Mar 15, 2024

https://github.com/check-spelling-sandbox/actions-checkout-no-such-branch/actions/runs/8296847126/workflow

name: checkout missing branch

on:
  push:

jobs:
  checkout:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
        with:
          ref: no-such-branch

https://github.com/check-spelling-sandbox/actions-checkout-no-such-branch/actions/runs/8296847126

Annotations

1 error

checkout
The process '/usr/bin/git' failed with exit code 1

Logs
Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/no-such-branch*:refs/remotes/origin/no-such-branch* +refs/tags/no-such-branch*:refs/tags/no-such-branch*
  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 --no-recurse-submodules --depth=1 origin +refs/heads/no-such-branch*:refs/remotes/origin/no-such-branch* +refs/tags/no-such-branch*:refs/tags/no-such-branch*
  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 --no-recurse-submodules --depth=1 origin +refs/heads/no-such-branch*:refs/remotes/origin/no-such-branch* +refs/tags/no-such-branch*:refs/tags/no-such-branch*
  Error: The process '/usr/bin/git' failed with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant