Skip to content

Fix container pin validation to skip unpinned containers - #50666

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-with-copilot-again
Aug 5, 2026
Merged

Fix container pin validation to skip unpinned containers#50666
pelikhan merged 2 commits into
mainfrom
copilot/fix-with-copilot-again

Conversation

Copilot AI commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

The validate-container-pins CI job fails because ghcr.io/fabio-rovai/open-ontologies:latest is intentionally unpinned (no digest in the manifest) but the validation script unconditionally requires every manifest container to exist in the actions pins file.

  • Skip containers with no digest (null or empty) in the manifest, since these are intentionally unpinned and don't need pin validation
# Skip containers that are intentionally unpinned (no digest in manifest)
if [ "$digest" = "null" ] || [ -z "$digest" ]; then
  continue
fi

The validate-container-pins CI job fails when a container in the
manifest has no digest (intentionally unpinned). Skip such containers
instead of requiring them in the actions pins file.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issues in Copilot integration process Fix container pin validation to skip unpinned containers Aug 5, 2026
Copilot AI requested a review from pelikhan August 5, 2026 18:38
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

PR Triage: #50666

Category: bug | Risk: low | Priority Score: 45/100 (impact 15, urgency 15, quality 15)
Recommended action: batch_review

Generated by 🔧 PR Triage Agent · auto · 45.2 AIC · ⌖ 2.9 AIC · ⊞ 8K ·

@pelikhan
pelikhan marked this pull request as ready for review August 5, 2026 19:03
Copilot AI balanced review requested due to automatic review settings August 5, 2026 19:03
@pelikhan
pelikhan merged commit 3b7d3c7 into main Aug 5, 2026
@pelikhan
pelikhan deleted the copilot/fix-with-copilot-again branch August 5, 2026 19:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates container-pin validation to ignore intentionally unpinned manifest containers while continuing to validate digest-pinned images.

Changes:

  • Skips containers whose manifest digest is null or empty.
  • Prevents false failures for intentionally unpinned images.
Show a summary per file
File Description
.github/workflows/ci.yml Adds the unpinned-container guard to CI validation.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants