ci: add push trigger on merge-hsm for E2E tests#77
Merged
Conversation
added 7 commits
April 6, 2026 19:37
- Trigger E2E smoke tests on push to merge-hsm (keeps workflow_dispatch for manual runs) - Resolve branch ref for push events (falls through to github.ref_name) - Add --checks flag to post GitHub Check Runs via Checks API - Provision GitHub App key on VM for check posting - Update report URL from GCS to ci.system3.dev
GitHub doesn't allow secret names starting with GITHUB_.
Source R2 endpoint, access key, and secret from GitHub secrets. Written to ~/.config/relay-e2e/r2-env.sh on the VM and sourced before test-branch.sh runs. Cleaned up after the run.
- Remove 2>/dev/null on SSH command so VM errors are visible in logs - Use git checkout --detach for reliable branch/tag/SHA checkout - Add --prune to git fetch to clean stale remote refs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
merge-hsmbranchci.system3.devreportci.system3.dev(R2-backed)workflow_dispatchfor manual runs on any branchSetup required
After merge, add this repo secret:
GITHUB_APP_KEY— GitHub App private key (PEM) for posting Check RunsTest plan
merge-hsmworkflow_dispatchstill works for manual runs