Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/migration-rehearsal.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Runs Migration Rehearsal (an agent on TrueForge) on every PR that changes a migration.
# Runs Migration Rehearsal (an agent on TrueForge) on every PR. PRs that change a migration are rehearsed on a
# masked copy of prod; other PRs pass in seconds. `npm run onboard` makes this check required on the default branch.
# Installed by `npm run onboard` from dipakkr/truefoundry-hackathon for project "ledgerly".
# The job runs on a self-hosted runner next to TrueForge, so TrueForge is never exposed to the internet.
# The human approval for applying to prod stays in TrueForge's UI; this job mirrors progress as a PR status.
Expand All @@ -7,7 +8,6 @@ name: Migration Rehearsal
on:
pull_request:
types: [opened, synchronize, reopened]
paths: ['migrations/**']
workflow_dispatch:
inputs:
pr:
Expand Down Expand Up @@ -55,6 +55,7 @@ jobs:
- name: Rehearse on prod data (TrueForge)
env:
AGENT: migration-rehearsal-ledgerly
MIGRATIONS_PATH: migrations
REPO: ${{ github.repository }}
PR_NUMBER: ${{ steps.pr.outputs.n }}
HEAD_SHA: ${{ steps.pr.outputs.sha }}
Expand Down
Loading