fix: skip bootstrapping-infra job for fork PRs - #4090
Draft
ayushhgarg-work with Copilot wants to merge 2 commits into
Draft
ayushhgarg-work with Copilot wants to merge 2 commits into
ayushhgarg-work with Copilot wants to merge 2 commits into
Conversation
… failure Fork PRs don't have access to repository secrets (OIDC_AZURE_CLIENT_ID, OIDC_AZURE_TENANT_ID, OIDC_AZURE_SUBSCRIPTION_ID), causing the azure/login step to fail. Add a job-level `if` condition to skip execution when the PR originates from a forked repository.
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job build
fix: skip bootstrapping-infra job for fork PRs
Jul 30, 2026
ayushhgarg-work
approved these changes
Jul 30, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fork PRs don't receive repository secrets, causing
azure/login@v1to fail with "Not all values are present" whenOIDC_AZURE_CLIENT_ID/OIDC_AZURE_TENANT_IDresolve to empty strings.Change
Added a job-level
ifcondition to.github/workflows/bootstrapping-infra.yml:workflow_dispatch/schedule: unaffected, always runs