Skip to content

ci: remove unused build-pr job from workflow#5

Merged
tompscanlan merged 1 commit into
mainfrom
fix/remove-build-pr-job
Dec 27, 2025
Merged

ci: remove unused build-pr job from workflow#5
tompscanlan merged 1 commit into
mainfrom
fix/remove-build-pr-job

Conversation

@tompscanlan

Copy link
Copy Markdown
Contributor

Summary

Remove the build-pr job that was blocking fork PRs from getting green CI.

Problem

  • Fork PRs can't access repository secrets (GitHub security feature)
  • The build-pr job requires AWS credentials to push images to ECR
  • Result: All fork PRs fail CI even when tests pass

Solution

Remove build-pr entirely. It pushed PR images that were never used (no preview deployments exist).

What remains

  • PRs: Run test job only (build, lint, unit tests)
  • Main merges: Run build-and-deploy + gitops-update

Test plan

The build-pr job pushed Docker images to ECR for pull requests, but:
- These images were never used (no preview deployments)
- Fork PRs fail because they can't access AWS secrets
- The test job already validates code compiles and passes

Now PRs only run tests. Images are built/pushed only on merge to main.
@tompscanlan tompscanlan merged commit 9a65f6b into main Dec 27, 2025
3 checks passed
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