Title: shipmill: the leaks push check reads a merge-from-main commit's public base content as sent by the push · Issue #565 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: shipmill: the leaks push check reads a merge-from-main commit's public base content as sent by the push · Issue #565 · cloudfall-dev/cloudfall
X Title: shipmill: the leaks push check reads a merge-from-main commit's public base content as sent by the push · Issue #565 · cloudfall-dev/cloudfall
Description: Upstream: shipmill (the delivery hook's leaks rule) Problem A push of a merge commit that brings the default branch into a pull request's branch is refused for content the default branch already holds publicly. The leaks check reads the ...
Open Graph Description: Upstream: shipmill (the delivery hook's leaks rule) Problem A push of a merge commit that brings the default branch into a pull request's branch is refused for content the default branch already ho...
X Description: Upstream: shipmill (the delivery hook's leaks rule) Problem A push of a merge commit that brings the default branch into a pull request's branch is refused for content the default branch al...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/565
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"shipmill: the leaks push check reads a merge-from-main commit's public base content as sent by the push","articleBody":"Upstream: shipmill (the delivery hook's `leaks` rule)\n\n## Problem\n\nA push of a merge commit that brings the default branch into a pull request's branch is refused for content the default branch already holds publicly. The `leaks` check reads the merge commit's whole diff against its first parent, so every file the merge brings in from the base counts as sent by this push.\n\n## Reproduce\n\n1. The default branch holds a doc with a placeholder URL carrying a user and password field (here `docs/specs/025-clickhouse-move-in.md`, line 123, merged and public)\n2. Check out a pull request branch that predates that doc, `git merge origin/main`, commit\n3. `git push origin \u003cmerge sha>:refs/heads/\u003cbranch>` in a gate session: `shipmill leaks push: refused ... secret-format: commit \u003cmerge sha>, docs/specs/025-clickhouse-move-in.md, line 123, holds a URL with a password`\n\nSeen on #518 (merge commit 6bd2c03 onto head 1cf6ffd), 2026-11-20.\n\n## Expected\n\nThe check reads only what the push adds that the remote doesn't already have: for a merge commit, the lines no parent reachable on the remote holds (the diff against the base side, or each commit's objects not already on the remote). Content already on a remote branch is never \"sent\" by a push.\n\n## Impact\n\nA session can't update a conflicting pull request with a merge of the base; its only way left is a force-push of a rebase, which needs the maintainer's OK, so the pull request waits on a question (#518).\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-20T17:51:36Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/565"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4209518-9bd2-dc22-4b03-441c01ae9364 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACE4:1C82F:1AFC44D:245F80F:6B054E7C |
| html-safe-nonce | 12f5b4158091b819aa43863df0fb9f7027d03159f7b78b876949a499a762ca45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0U0OjFDODJGOjFBRkM0NEQ6MjQ1RjgwRjo2QjA1NEU3QyIsInZpc2l0b3JfaWQiOiIzMDEyNzc3MDA5OTc0OTU1NjQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9584a24521e268b08c8c6f9e95f0ac779ec187304600029fed2ddf302f0b0061 |
| hovercard-subject-tag | issue:6516795219 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/565/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fd272a4ab5bce006747a9d80a6a98f98d52c165de8825a9699235b7017a7b14c/cloudfall-dev/cloudfall/issues/565 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fd272a4ab5bce006747a9d80a6a98f98d52c165de8825a9699235b7017a7b14c/cloudfall-dev/cloudfall/issues/565 |
| og:image:alt | Upstream: shipmill (the delivery hook's leaks rule) Problem A push of a merge commit that brings the default branch into a pull request's branch is refused for content the default branch already ho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width