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
10 changes: 10 additions & 0 deletions .github/workflows/image-push-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# actions/checkout runs on the runner host; this job's steps run inside
# the bazel-ci container, which mounts that checkout under a different
# UID. Since git 2.35.2 (CVE-2022-24765) git refuses to operate on a
# repo it does not own ("detected dubious ownership"), which makes
# workspace_status.sh's `git rev-parse --short HEAD` fail silently
# (stderr redirected) and fall back to the literal "unknown", landing
# in the built binary as `mr-unknown` instead of a real short SHA.
- name: Trust the checkout inside the container
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: Resolve service name for cache keys
id: svc
env:
Expand Down
Loading