Skip to content

Add support for PR from forked git repository#73

Merged
LucaCanali merged 1 commit intoLucaCanali:masterfrom
k8s-school:fork-support
Jul 31, 2025
Merged

Add support for PR from forked git repository#73
LucaCanali merged 1 commit intoLucaCanali:masterfrom
k8s-school:fork-support

Conversation

@fjammes
Copy link
Copy Markdown
Contributor

@fjammes fjammes commented Jul 31, 2025

When running CI for a pull request coming from a fork, the GitHub Actions environment variable GITHUB_REPOSITORY points to the target repo (e.g., LucaCanali/sparkMeasure), but the actual CI code comes from the source fork (e.g., k8s-school/sparkMeasure).

This ensures that the correct repo URL is used, especially during pull requests from forks.

@LucaCanali LucaCanali merged commit ee05358 into LucaCanali:master Jul 31, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants