ci: trigger dev build+smoke on PRs to dev #3
Reference in New Issue
Block a user
Delete Branch "fix/ci-pr-triggers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds pull_request trigger to dev.yaml so CI runs on every PR targeting dev. Stage and main remain push/merge-only — no PR triggers there.
Gitea does not inject secrets for pull_request events. All push/workflow_dispatch CI was already working. PR builds were failing at Clone el and Authenticate to GCP. Fix: for pull_request events, skip El clone and GCP auth entirely. Instead build EL_HOME from committed files: bin/elc-linux-amd64 + runtime/{el_runtime.c,.h,.js}. build-stage.sh already knows about bin/elc-linux-amd64 for JS compilation; this extends that pattern to the native compiler and JS runtime. Docker --cache-from is skipped implicitly (no docker auth configured for PR builds) — BuildKit handles unauthenticated cache-from gracefully, continuing without cache.Pull request closed