Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

Compare maintainability against the tested merge base

qindongd896b2a5d6be
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cbebd710..f6d0471a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -53,9 +53,10 @@ jobs:
- name: Compare source against the PR base
shell: bash
env:
- BASE_REVISION: ${{ github.event.pull_request.base.sha }}
+ PR_HEAD_REVISION: ${{ github.event.pull_request.head.sha }}
run: |
- test "$(git rev-parse HEAD^1)" = "$BASE_REVISION"
+ test "$(git rev-parse HEAD^2)" = "$PR_HEAD_REVISION"
+ BASE_REVISION=$(git rev-parse HEAD^1)
base_dir=$(mktemp -d "$RUNNER_TEMP/motion-base.XXXXXX")
git archive "$BASE_REVISION" | tar -x -C "$base_dir"
npm ci --prefix "$base_dir" --ignore-scripts --no-audit --no-fund