Skip to content

Add -assignees so new alert issues notify someone - #3

Merged
Quantas merged 1 commit into
mainfrom
assign-new-issues
Nov 19, 2026
Merged

Quantas merged 1 commit into
mainfrom
assign-new-issues

Conversation

@Quantas

@Quantas Quantas commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Requested by Andrew · project thread

Why

An issue opened by the GitHub App notifies nobody unless they watch the repository, so a new alert can go unseen.

What

  • New flag -assignees (env AGI_ASSIGNEES): comma-separated GitHub logins set as assignees when an issue is created. Updates, comments and closes are unchanged.
  • When it's unset, the create request carries no assignees key, so behaviour is exactly as before.
  • README flag table updated.
  • Test TestAssigneesOnNewIssue covers both cases: no key without the flag, and the logins passed through with it.

Assigning only needs the issues permission the installation token is already narrowed to. GitHub drops an assignee who has no access to the repository.

Checked

gofmt -l . is clean, go vet ./... passes, and go test -count=1 ./... passes.

Releasing needs a v0.2.0 tag after merge. Cloud sessions can't create tags, so that step runs on MiniMac.


Generated by Claude Code

Issues opened by the App notify nobody unless they watch the repository.
-assignees (AGI_ASSIGNEES) takes comma-separated logins and sets them on
create only; updates and closes are unchanged. Unset, the create request
carries no assignees key, as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N1RroqyUFLEgadFTrFjLEi
@Quantas Quantas self-assigned this Nov 19, 2026
@Quantas
Quantas marked this pull request as ready for review November 19, 2026 12:52
@Quantas
Quantas merged commit 0274458 into main Nov 19, 2026
4 checks passed
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.

2 participants