Fix CI workflows: continuous-integration.yml #3815
Merged
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.
PR Description
This PR addresses the issue of the failing continuous-integration workflow in the
abd-vro-internal
repository.Background
The continuous-integration workflow has been failing for months solely in
abd-vro-internal
, and there is no record of a successful run in theabd-vro-internal
. (See workflow run history).Root Cause
The likely cause of the failures is the absence of the
ACCESS_TOKEN_CHECKOUT_INTERNAL_REPO
secret inabd-vro-internal
. (See missing secret in repository settings). This variable is used in the workflow and is needed for checking out dependencies from the internal repository. (See usage in workflow).Rationale
The
abd-vro-internal
CI workflow fails consistently due to this misconfiguration and doesn’t provide additional insights beyond what is already available in theabd-vro
repository. Running the same workflow in both repositories introduces risks of:Since the CI workflow passes successfully in
abd-vro
and only fails inabd-vro-internal
due to Git-related issues, theabd-vro-internal
runs do not offer meaningful insight or benefit.Solution
This PR limits the execution of the CI workflow to the
abd-vro
repository by adding a conditional check:This ensures that CI runs are limited to the
abd-vro
repository, where the workflow is properly configured, avoiding redundant failures inabd-vro-internal
.How to Test
abd-vro
executes successfully.abd-vro-internal
repository.Errata: