Skip to content

PR between forks  #293

@lldelisle

Description

@lldelisle

Subject of the issue

I may be wrong but it seems that the action does not find the corresponding PR when it is a PR across forks.

Your git environment

    - name: Get PR object
      if: failure()
      uses: 8BitJonny/[email protected]
      id: failed_pr_number
      with:
        sha: ${{ github.event.pull_request.head.sha }}
    - name: Debug GetPR output
      if: failure()
      run: |
          echo ${{ steps.failed_pr_number.outputs.number }}

Steps to reproduce

I guess just make a PR between forks should make it reproducible.

Expected behaviour

I was expecting to find the good PR number

Actual behaviour

Tell us what happens instead

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions