Skip to content

Deploy Prod: scan main, then merge it into production - #512

Merged
Charlie-Carson merged 1 commit into
mainfrom
issue-1544
Nov 11, 2026
Merged

Charlie-Carson merged 1 commit into
mainfrom
issue-1544

Conversation

@Charlie-Carson

@Charlie-Carson Charlie-Carson commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Restores the direct main-to-production merge the deploy workflow did before 2026-11-03, now behind a malware scan.

Step 1 after checkout runs the shared PolinRider scanner (ChurchApps/.github, scripts/polinrider_scan.py, self-test then scan of the checked-out tree). A finding fails the step and the merge never runs. On a clean scan the job merges the scanned sha into production through the GitHub merges API, which is the same call the old devmasx/merge-branch step made, so no third-party action is needed. The pull-request step added on 2026-11-03 is removed.

For the workflow's push to land, the production branch rule must allow GitHub Actions to merge without a review. The scan stands in for that review.

Evidence

Scanner proof run locally on 2026-11-11 with the current scanner from ChurchApps/.github main: self-test 11 passed, 0 failed; a planted .vscode/tasks.json folderOpen task fails the scan (exit 1); the current main tree of this repo scans clean. The workflow parses as YAML and the step order is checkout, scanner checkout, scan, then the existing steps.

Asked by Jeremy in the dashboard chat on 2026-11-11 (notes/2026-11-11-chat-1544.md): auto deploys back on, with the malware scan as step 1 of every production publish.

ChurchApps/ChurchAppsSupport#1544

Affected tests: yarn test, 97 passed (1 flaky, green on retry), after 3f24d18.

@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lessons-app Ready Ready Preview Nov 11, 2026 3:41pm UTC

Request Review

@Charlie-Carson
Charlie-Carson merged commit c47d323 into main Nov 11, 2026
4 checks passed
@Charlie-Carson
Charlie-Carson deleted the issue-1544 branch November 11, 2026 16:55

This branch was successfully deployed

1 active deployment
Preview — 3f24d180 Deployed Nov 11, 2026 by vercel[bot]
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