diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-18 12:19:09 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-18 12:23:03 +0800 |
| commit | 5de5d5d72a9021125272977a6ca2ab865043bf67 (patch) | |
| tree | b106c15f3e722de94bd555589a94828b1aafd641 /.github | |
| parent | b1694827328dcbf061b9b502e51830176b4f42df (diff) | |
chore: show diff on git-unlock in CI
Pass `--show-diff` to `git-unlock` and restructure CI steps as
(command, args) pairs to support per-step arguments. The diff prints
tracked workspace changes before they are discarded.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci-check-only.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci-check-only.yml b/.github/workflows/ci-check-only.yml index dc97c81..548026d 100644 --- a/.github/workflows/ci-check-only.yml +++ b/.github/workflows/ci-check-only.yml @@ -61,7 +61,7 @@ jobs: - name: Unlock workspace (idempotency check) if: always() - run: cargo ci git-unlock + run: cargo ci git-unlock --show-diff - name: Fail when the check failed if: steps.check.outcome == 'failure' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4892c3..56667d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: - name: Unlock workspace (idempotency check) if: always() - run: cargo ci git-unlock + run: cargo ci git-unlock --show-diff - name: Fail when the check failed if: steps.check.outcome == 'failure' |
