Skip to content

fix(ci): close the issues of auto-merged pull requests - #86

Merged
github-actions[bot] merged 1 commit into
masterfrom
fix/close-linked-issues
Nov 6, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
fix/close-linked-issues

Conversation

@endercodezz

Copy link
Copy Markdown
Owner

What changed

Closes #n did not close issues: #81 and #82 were merged by app/github-actions through auto-merge, and #80 and #3 stayed open. The earlier ones had been closed by hand. Such a merge starts no workflow either, so pull_request: closed can't help.

New .github/workflows/close-linked-issues.yml runs every 30 minutes and on demand, and closes the open issues linked to the last 50 merged pull requests. An issue reopened by hand has state_reason: reopened and stays open. CLAUDE.md and AGENTS.md describe this.

Verification

Closes #85

Closes #n does nothing here: auto-merge runs as github-actions with
GITHUB_TOKEN, and #80 and #3 stayed open after their pull requests merged.
That merge starts no workflow either, so a scheduled one closes the open
issues of merged pull requests and leaves reopened ones alone.

Verified: the same query run read-only finds no wrong issue to close.
@github-actions
github-actions Bot enabled auto-merge November 6, 2026 15:16
@github-actions
github-actions Bot merged commit ed1472a into master Nov 6, 2026
9 checks passed
@endercodezz
endercodezz deleted the fix/close-linked-issues branch November 6, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Closes #n does not close issues after auto-merge

1 participant