Skip to content

Assign new issues to the maintainer and ask for an issue before a PR - #1092

Merged
derek73 merged 1 commit into
masterfrom
claude/auto-assign-new-issues-ac385d
Nov 5, 2026
Merged

derek73 merged 1 commit into
masterfrom
claude/auto-assign-new-issues-ac385d

Conversation

@derek73

@derek73 derek73 commented Nov 5, 2026

Copy link
Copy Markdown
Owner

A drive-by pull request (#1086) arrived overnight for an issue that had been opened without an assignee. This makes that less likely in two ways.

Auto-assignment. .github/workflows/assign-issues.yml assigns every issue to derek73 when it is opened or reopened, whoever opens it. Issues opened from sessions had been assigned only when the gh issue create call remembered --assignee, and five open ones had gone out without it. The job passes only the issue number to gh (through env:, never interpolated into the script) and holds issues: write alone.

Issue before PR. CONTRIBUTING.md now opens with "Ask before you open a pull request":

  • a pull request needs an issue the maintainer has agreed to, and one opened without it may be closed without review;
  • open issues are assigned and usually in progress, not a list of tasks waiting for a volunteer;
  • agent-assisted work is welcome and should say so in a Co-Authored-By: line, as 1,643 of the 1,907 non-merge commits from the six months to 2026-11-05 do;
  • an outside agent is checked against the same thing the maintainer's is: about 31.8 million records of real names from thirteen locally cached sources (counted 2026-11-05, 25.0 million of them ORCID records), which no fork can see;
  • once a change is agreed, a pull request that answers review promptly helps.

AGENTS.md gains one line at the top for agents working for anyone but the maintainer, since that file is what such an agent reads: #1086 cited rules/P9 and re-recorded the snapshot.

Not done here: an auto-close workflow for pull requests that link no agreed issue. Worth adding only if the text alone does not stop them.

🤖 Generated with Claude Code

A workflow assigns every issue to the maintainer when it is opened or
reopened, so no issue sits unassigned for a drive-by pull request to
pick up. CONTRIBUTING.md now opens by asking contributors to agree a
change in an issue before opening a pull request, and AGENTS.md carries
the same request for agents working for anyone else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@derek73 derek73 added github_actions Pull requests that update GitHub Actions code docs Documentation fixes and updates labels Nov 5, 2026
@derek73 derek73 self-assigned this Nov 5, 2026
@derek73
derek73 merged commit 8ccd888 into master Nov 5, 2026
13 checks passed
@derek73
derek73 deleted the claude/auto-assign-new-issues-ac385d branch November 5, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation fixes and updates github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant