Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,15 @@ jobs:
echo "::error::Regenerated source audit exited $rc: $detail"
exit "$rc"
fi
departures-ledger:
name: Departures ledger
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@v7.0.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Fetch full history before evaluating commit checks

In this job, actions/checkout uses its shallow default, but check_commit_on_main explicitly returns unevaluated whenever git rev-parse --is-shallow-repository is true, and departures.sh check treats unevaluated rows as success. Consequently, any ledger row using the supported commit-on-main check can never be classified as resolved in CI; this is reproducible in a depth-1 clone where even a check naming HEAD exits 0 as unevaluated. Configure checkout with full history so this check type can enforce the ledger.

Useful? React with 👍 / 👎.

- name: Validate the departures ledger
run: bash scripts/departures.sh validate
- name: Check no departure has resolved (a resolved row must be pruned)
run: bash scripts/departures.sh check
Loading
Loading