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

Pull request from a fork #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Pull request from a fork #2

wants to merge 1 commit into from

Conversation

khaeru
Copy link
Member

@khaeru khaeru commented Jan 21, 2025

No description provided.

@khaeru
Copy link
Member Author

khaeru commented Jan 21, 2025

@glatterf42 here is a working example.

  • In the main branch, I found I had to use the following settings for actions/checkout:
    repository: ${{ github.event.workflow_run.head_repository.full_name }}
    ref: ${{ github.event.workflow_run.head_branch }}
    
    (note the difference between repository and head_respository; fullname and full_name).
  • However it still has the limitations I described here, i.e. the successful "Test" workflow run is not reported back to the current PR.

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

Successfully merging this pull request may close these issues.

2 participants