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 repository reference with @ #1661

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

Improve error reporting for repository reference with @ #1661

jsoref opened this issue Mar 15, 2024 · 0 comments

Comments

@jsoref
Copy link
Contributor

jsoref commented Mar 15, 2024

This actually happened as someone was migrating from:

  steps:
  - uses: owner/repo@ref

to:

  steps:
  - uses: actions/checkout@v4
    with:
      repository: owner/repo@ref
      ssh-key: ${{ secrets.OWNER_REPO_KEY }}
  - uses: ./

There are two flavors of poor error messages here.

Annotations

1 error

checkout
Not Found

Workflow: https://github.com/check-spelling-sandbox/checkout-repository-with-at/actions/runs/8297497838/workflow

name: checkout repository with at

on:
  push:

jobs:
  checkout:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
        with:
          repository: check-spelling-sandbox/checkout-repository-with-at@main

Annotations

4 errors

checkout
remote error:
checkout
remote error:
checkout
remote error:
checkout
The process '/usr/bin/git' failed with exit code 128

Workflow: https://github.com/check-spelling-sandbox/checkout-repository-with-at/actions/runs/8297497848/workflow

name: checkout repository with at (private)

on:
  push:

jobs:
  checkout:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
        with:
          repository: check-spelling-sandbox/checkout-repository-with-at@main
          ssh-key: ${{ secrets.REPO_KEY }}
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