Skip to content

v0.1.36

Choose a tag to compare

@eharriett0 eharriett0 released this 16 Nov 23:32
· 19 commits to main since this release
c51032e

One fix to merge-pr's deploy gate.

  • #221: a PR that renamed a file OUT of a merge_is_deploy_paths path (infra/x.yaml → docs/x.yaml, which deletes a deployed object) merged without the typed deploy confirm. gh pr diff --name-only, which the gate read, lists only the new path of a rename. The gate now reads the PR's file list from GitHub's REST API, where a renamed file counts under both its old and new paths. It gates whenever it cannot be sure of the whole list:
    • the list doesn't add up to the PR's file count, or reaches GitHub's 3,000-file cap;
    • a renamed file is listed without its old path;
    • only GraphQL answers and it shows a rename, since GraphQL never gives the old path.