Documentation
¶
Overview ¶
Command openfixed lists OPEN issues that a MERGED pull request has already addressed, across owners, so they can be closed.
Sources opened before writing it:
- GitHub search syntax: `is:issue`, `is:open`, `org:`/`user:` and `linked:pr` ("issues linked to a pull request by a closing reference").
- REST issue timeline: GET /repos/{o}/{r}/issues/{n}/timeline, per_page max 100; `cross-referenced` events carry source.issue.pull_request.merged_at (non-null = merged), `connected` and reopened events carry timestamps.
- Linking a pull request to an issue: the keywords close(s|d), fix(es|ed), resolve(s|d); a bare #N means the PR's own repository, another one needs owner/name#N; the PR must target the default branch for the link to exist.
Classes: CLOSABLE (merged PR with a closing keyword, or a "connected" event) and REVIEW (merged PR mentioned it without one, or the issue was reopened after the merge). Issues whose referencing PRs are all unmerged are not listed. Dry run by default; --close closes only CLOSABLE ones.
⛔ A scan that cannot read must not report zero: every issue found by search is accounted for as read, or skipped with its reason, per owner.