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

PR between forks #293

Open
lldelisle opened this issue Nov 16, 2023 · 1 comment
Open

PR between forks #293

lldelisle opened this issue Nov 16, 2023 · 1 comment

Comments

@lldelisle
Copy link

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

@8BitJonny
Copy link
Owner

Yes, this action right now works only within the context of a single repo currently. It does not take forks into account at all. I'm currently pretty swamped but anyone is welcome to give this feature a try and implement it. I'd be happy to review it

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

No branches or pull requests

2 participants