ci: make local e2e the merge gate - #1268
piotr-iohk wants to merge 2 commits into
Conversation
Keep e2e-status as the required local check, move staging off PRs, and run migration on release-* with the same Slack summary as staging.
Regtest APKDownload bitkit-dev-debug universal APK (expires in 30 days). |
|
| uses: actions/checkout@v7 | ||
| with: | ||
| repository: synonymdev/bitkit-e2e-tests | ||
| ref: main |
There was a problem hiding this comment.
The new migration report checks out actions/checkout@v7 and synonymdev/bitkit-e2e-tests@main through mutable references, then runs the downloaded scripts/slack_summary.py with the staging Slack webhook in its environment. If either reference is repointed or compromised, scheduled and opted-in dispatch runs can execute substituted code, expose the webhook, or post unauthorized messages. Pin both executable dependencies to immutable commit SHAs. The staging report has the same exposure at .github/workflows/e2e-staging.yml:246-249.
How this was verified: The checked-out external Python script is executed immediately afterward with
SLACK_WEBHOOK_URL_STAGINGsupplied asSLACK_WEBHOOK_URL.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Pinning to main blocked testing slack_summary.py on a matching e2e-tests branch. Leave transfer_1 off staging until it is stable.
Related to synonymdev/bitkit-e2e-tests#221 (PR B)
This PR:
e2e-statusis local-onlye2e-staging.ymlon schedule and dispatch (no PR trigger)release-*PRs and posts the same Slack summary as stagingDescription
Staging stays off the merge gate. Feature PRs no longer wait on stag0. Local
lnurl_transfergrep is@lnurl|@transfer_2. Staging shards stay@multi_address_2,@pubky,@hardware_wallet,@transfer_max(@transfer_1later). Slack checkout uses the resolved e2e-tests branch so a same-named branch can testslack_summary.py.Migration:
pull_requestruns only when head or base starts withrelease-. Slack posts on schedule and on dispatch whenpost_to_slackis true, usingSLACK_WEBHOOK_URL_STAGING.Design
N/A — no UI changes.
Preview
N/A
QA Notes
Manual Tests
N/A
Automated Checks
e2e-statuswithout staging jobs.gh workflow run e2e-staging.ymlstill works; migration on arelease-*PR should run; nightly/dispatch withpost_to_slackposts to#bitkit-staging-nightly.