Skip to content

[Bug]: Push image to GHCR incorrectly runs in PR #384

@ChrisPC-39

Description

@ChrisPC-39

🐞 Bug Summary

PR validation step "Push image to GHCR" fails because it's supposed to only run on the main branch. The Github Action should be fixed in order to skip this step while validating a PR.


🧩 Affected Component

Select the area of the project impacted:

  • mcpgateway - API
  • mcpgateway - UI (admin panel)
  • mcpgateway.wrapper - stdio wrapper
  • Federation or Transports
  • CLI, Makefiles, or shell scripts
  • Container setup (Docker/Podman/Compose)
  • Other (explain below)

🔁 Steps to Reproduce

  1. Create a PR from any branch
  2. Wait for "build-scan-sign" to run and fail

🤔 Expected Behavior

Step should be skipped.


📓 Logs / Error Output

denied: installation not allowed to Write organization package
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageIssues / Features awaiting triage

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions