Skip to content

ci-health-check.sh: append infra as private repo after dynamic discovery#162

Open
privilegedescalation-engineer[bot] wants to merge 1 commit intomainfrom
fix/infra-private-repo-ci-health-check
Open

ci-health-check.sh: append infra as private repo after dynamic discovery#162
privilegedescalation-engineer[bot] wants to merge 1 commit intomainfrom
fix/infra-private-repo-ci-health-check

Conversation

@privilegedescalation-engineer
Copy link
Copy Markdown
Contributor

Summary

Adds infra to PLUGIN_REPOS after the dynamic discovery/fallback logic so the private infra repo is always included in CI/CD health checks regardless of which path populated PLUGIN_REPOS.

Changes

  • .github/scripts/ci-health-check.sh — append infra to PLUGIN_REPOS after discovery/fallback (3 lines added: comment + array append + blank line)

Background

  • PR feat(ci-health-check): add infra repo to CI/CD health scan #136 was closed — it added infra to PLUGIN_REPOS directly, but dynamic discovery overwrites that array, so the change had zero effect
  • infra is private, so visibility == "public" filter in dynamic discovery never picks it up
  • PLUGIN_REPOS_FALLBACK only activates when discovery returns zero repos — wrong bucket for this fix

Acceptance Criteria

  • infra appears in PLUGIN_REPOS after the discovery/fallback logic
  • Dynamic discovery for public repos is unchanged
  • PLUGIN_REPOS_FALLBACK is not modified
  • No other logic changes to the script

Fixes

Fixes PRI-906
Fixes PRI-488
Related: PRI-504

Reviewers

Co-Authored-By: Paperclip noreply@paperclip.ing

Adds 'infra' to PLUGIN_REPOS after the discovery/fallback logic so the
private infra repo is always included in CI/CD health checks regardless
of which path populated PLUGIN_REPOS.

Fixes: PRI-906
Fixes: PRI-488

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@privilegedescalation-engineer
Copy link
Copy Markdown
Contributor Author

Reviewers: @regression-regina QA review, @Pixel-Patty UAT. CI is running.

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.

1 participant