Skip to content

ci: assign new issues and pull requests to the maintainer - #34

Merged
rizukirr merged 1 commit into
mainfrom
auto-assign
Aug 20, 2026
Merged

ci: assign new issues and pull requests to the maintainer#34
rizukirr merged 1 commit into
mainfrom
auto-assign

Conversation

@rizukirr

Copy link
Copy Markdown
Member

Adds the auto-assign workflow this repository was missing. libmuslim and muslimtify already have it; this brings the remaining three into line.

Copied verbatim from libmuslim rather than rewritten, so all five repositories behave identically and there is one thing to maintain rather than five variants.

What it does

Assigns every newly opened or reopened issue and pull request to rizukirr. GitHub has no repository setting for this, and it does not assign an author to their own issue or PR, so a workflow is the smallest thing that actually works.

Two properties worth knowing

It uses pull_request_target rather than pull_request so that PRs opened from forks get a token with write permission. That trigger runs in the base repository context with secrets available, which is only safe because the workflow never checks out or executes any code from the pull request. The file carries a comment saying so, and a checkout step must never be added to it.

It skips anything that already has an assignee, so reopening an item someone has already assigned does not silently reassign it.

No third-party action is used, only the gh CLI that ships on every runner.

Copied verbatim from libmuslim, where this has been running against both
issues and pull requests. Same behaviour everywhere rather than a
per-repository variant.

Two properties worth keeping in mind when reading it. It uses
pull_request_target so that PRs from forks get a write-capable token,
which is only safe because the workflow never checks out or runs any
code from the pull request, and it skips anything that already has an
assignee so that reopening an item does not silently reassign it.

No third-party action, only the gh CLI that ships on every runner.
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
muslimtify Ready Ready Preview Aug 20, 2026 7:37am

@rizukirr
rizukirr merged commit 5cb7bf9 into main Aug 20, 2026
3 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.

1 participant