Skip to content

[3.0] Added a workaround for PR checks from forked repos. #14218

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

Merged
merged 2 commits into from
Jul 10, 2025

Conversation

PawelWMS
Copy link
Contributor

@PawelWMS PawelWMS commented Jul 3, 2025

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

Adding a workaround for the issue where pip install would fail if it was ran on a PR check build when the PR has been opened from a fork of the upstream repository.

Does this affect the toolchain?

No.

Associated issues
Test Methodology

@PawelWMS PawelWMS requested a review from a team as a code owner July 3, 2025 21:15
@microsoft-github-policy-service microsoft-github-policy-service bot added the fasttrack/3.0 PRs Destined for Azure Linux 3.0 label Jul 3, 2025
@aaruag
Copy link

aaruag commented Jul 9, 2025

/azurepipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jslobodzian jslobodzian merged commit fd6298b into fasttrack/3.0 Jul 10, 2025
18 of 21 checks passed
@jslobodzian jslobodzian deleted the pawelwi/3.0_pip_install_fix branch July 10, 2025 14:43
CBL-Mariner-Bot pushed a commit that referenced this pull request Jul 10, 2025
Co-authored-by: aaruag <aaruagrawal@microsoft.com>
(cherry picked from commit fd6298b)
@CBL-Mariner-Bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fasttrack/3.0 PRs Destined for Azure Linux 3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants