Skip to content

CI: assign every new issue and pull request to the maintainer - #81

Merged
tae898 merged 1 commit into
mainfrom
ci/80-assign-maintainer
Nov 9, 2026
Merged

tae898 merged 1 commit into
mainfrom
ci/80-assign-maintainer

Conversation

@tae898

@tae898 tae898 commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Adds .github/workflows/assign-maintainer.yml, which assigns every new issue and pull request to tae898 when it is opened (issue #80).

It runs on issues: opened and pull_request_target: opened and calls github.rest.issues.addAssignees through actions/github-script, pinned to the same full SHA as the other workflows. I use pull_request_target so a fork's pull request still gets a token that can edit it; nothing from the pull request head is checked out or run, the job only calls the GitHub API. An item that already has tae898 assigned is skipped, and a refused assignment (a bot, a fork pull request) logs a warning and does not fail the job. No secrets, no checkout, no other action.

I checked the file with actionlint and parsed it with PyYAML. It will first be seen on the next new issue or pull request, since the events are opened only.

Closes #80

🤖 Generated with Claude Code

The workflow runs on issues and pull_request_target opened events and
adds tae898 as assignee through the REST API. pull_request_target so a
fork's pull request still gets a token that can edit it; nothing from
the pull request head is checked out or run. A refused assignment logs
a warning and does not fail the job.

Closes #80

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tae898
tae898 merged commit dabede7 into main Nov 9, 2026
9 checks passed
@tae898
tae898 deleted the ci/80-assign-maintainer branch November 9, 2026 16:49
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.

Assign every new issue and pull request to the maintainer

1 participant