Skip to content

Check-out from Fork does not work with workflow_call #18563

Description

@strawgate
Run actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
Event: pull_request
Pull Request #2482
📋 PR Context Details
  Event type: pull_request
  PR number: 2482
  PR state: open
  Head ref: new-workflows
  Head SHA: bde1f0c73f66aad01b85858c139be4055572b0ed
  Head repo: strawgate/private
  Head repo owner: strawgate
  Base ref: main
  Base SHA: 44feb663f657dff6a8c3ed71b735576b76051123
  Base repo: elastic/private
  Base repo owner: elastic
  Is fork PR: true (head.repo.fork flag is true)
  Current repository: elastic/private
  GitHub SHA: 8c90b0515ab226fa290c00e7f8ea653419fb8c1b
🔄 Checkout Strategy
  Event type: pull_request
  Strategy: git fetch + checkout
  Reason: pull_request event runs in merge commit context with PR branch available
Fetching branch: new-workflows from origin
/usr/bin/git fetch origin new-workflows
fatal: couldn't find remote ref new-workflows
❌ Checkout Error Details
Error: ERR_API: Failed to checkout PR branch: The process '/usr/bin/git' failed with exit code 128

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions