Skip to content

v1.16.0 — auto-merge resolves PR from head-sha

Choose a tag to compare

@three-cubes-agent three-cubes-agent released this 12 Jul 21:14
Immutable release. Only release title and notes can be modified.
82e55fa

Fixed

  • auto-merge-on-green.yml resolves the PR from head-sha internally. A workflow_run caller has no github.event.pull_request, so callers previously ran a local resolve job to map commit→PR via commits/{sha}/pulls — but that job used the default GITHUB_TOKEN (contents: read), so the lookup 403'd, resolve failed, and every PR silently fell back to manual merge across the fleet. The reusable now performs the lookup itself when pr-number is empty, using the App token it already mints (which carries pull-requests access).

Consumer migration

Repin to @82e55fa008d8b2f5254ba3a2624c22b78036eeb5 # v1.16.0, delete the local resolve job, and pass only head-sha: ${{ github.event.workflow_run.head_sha }}. Backward compatible: a caller still passing pr-number is unaffected.

Also rolls up the accumulated main work since v1.15.0 (#73#77).