@aldotestino/autoland 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ [![CI](https://github.com/aldotestino/autoland/actions/workflows/ci.yml/badge.svg)](https://github.com/aldotestino/autoland/actions/workflows/ci.yml)
2
+ [![npm version](https://img.shields.io/npm/v/@aldotestino/autoland)](https://www.npmjs.com/package/@aldotestino/autoland)
3
+ [![License: MIT](https://img.shields.io/npm/l/@aldotestino/autoland)](LICENSE)
4
+
1
5
  # autoland
2
6
 
3
7
  Update, approve if needed, and merge a batch of pull requests in order, one at a time. Built with
@@ -38,7 +42,7 @@ Run it in a terminal with no PRs and no `--label` to choose from a checkbox list
38
42
 
39
43
  PRs are deduplicated and processed in ascending numeric order. The tool updates branches that are behind their base, waits for required checks, and uses squash merges by default. Each PR must finish merging before the next PR starts, including when GitHub uses a merge queue. Branch protections are not bypassed.
40
44
 
41
- Before merging, it checks each reviewer's current vote. If no current approval exists, it submits an approval as your authenticated `gh` account, pinned to the checked commit. Existing approvals are not duplicated. Outstanding change requests or approval failures leave the PR unmerged. GitHub does not allow you to approve your own PR. Dry runs do not approve.
45
+ Before merging, it checks each reviewer's current vote and GitHub's review decision. If GitHub still requires a review and you have not approved, it submits an approval as your authenticated `gh` account, pinned to the checked commit, even when someone else has approved, because their approval may not satisfy a code-owner rule. It does not vote when someone has approved, GitHub still requires a review, and every code owner it is waiting on is another person, because that points to a code-owner rule your approval could not satisfy; the PR is left unmerged. If the branch requires no review, an existing approval from anyone is enough. Approvals are not duplicated. Outstanding change requests or approval failures leave the PR unmerged. When a review is what blocks the PR, the output names the reviewers GitHub is waiting on. GitHub does not allow you to approve your own PR. Dry runs do not approve.
42
46
 
43
47
  The order is **update or repair → wait for required checks → approve if needed → merge**. There is no approval check before an update or conflict repair. Branches are compared against the live base branch tip, not the base SHA stored in the PR response. Approval is checked only for the merge-ready commit. If the base moves during a merge attempt, the tool retries the update instead of skipping the PR.
44
48
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aldotestino/autoland",
3
3
  "description": "Land a batch of pull requests in order, one at a time: update, wait for checks, approve, merge.",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -29,9 +29,9 @@
29
29
  "x64"
30
30
  ],
31
31
  "optionalDependencies": {
32
- "@aldotestino/autoland-darwin-arm64": "0.1.0",
33
- "@aldotestino/autoland-darwin-x64": "0.1.0",
34
- "@aldotestino/autoland-linux-arm64": "0.1.0",
35
- "@aldotestino/autoland-linux-x64": "0.1.0"
32
+ "@aldotestino/autoland-darwin-arm64": "0.1.2",
33
+ "@aldotestino/autoland-darwin-x64": "0.1.2",
34
+ "@aldotestino/autoland-linux-arm64": "0.1.2",
35
+ "@aldotestino/autoland-linux-x64": "0.1.2"
36
36
  }
37
37
  }