Repository navigation
Close issues on development from the merge push, forks included - #804
Merged
Merged
Conversation
The workflow ran on `pull_request: closed`, which gives a fork's pull request a read-only token, so #799's merge could not close #798. The `pull_request_target` route in the brief is blocked by default in public repositories from 2 December 2026 and reads its workflow from `main`, so the workflow now runs on the push a merge makes to `development`, maps each merge commit to its pull request through the API, and closes the issues that pull request names as before. One failure no longer stops the other pull requests in the same push. Closes #800 Changelog: none, CI workflow only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLeUbZ9VvUn18RPRPQV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #800
Summary
The brief proposed
pull_request_target. GitHub blocks it by default in public repositories from 2 December 2026 and reads it frommain, so it would do nothing until a release and then stop. The maintainer chose the push route instead; the brief's acceptance criteria are revised on #800.permissions:gainscontents: read, which the compare API needs to list a push's commits.Evidence
gh issue closewithResource not accessible by integration; Service worker intercepts the Cloudflare Access sign-in return #798 stayed open.After: the lookup run read-only against the real merges: push
6830beb^1...4149c7a→ merge commits6830beb,4149c7a→ PRs 797 (branch) and 799 (fork) →Closes #798found.gh: an inner merge with no PR is skipped without waiting, a failed close of one issue does not stop the next PR's close, a failed PR read is reported and skipped, the newest merge retries once, and the exit code is 1 when anything failed.actionlintclean;just checkpassed.Merge Danger
Door: two-way
Revert the commit to get the old trigger back.
Blast Radius: CI-only
If the new trigger misbehaves, issues named by merged PRs stay open until closed by hand, as #798 was. Merging this PR is itself the same-repository test: #800 should close with "Closed by #N".
🤖 Generated with Claude Code
https://claude.ai/code/session_013rPDLeUbZ9VvUn18RPRPQV