Skip to content

Commit

Permalink
chore(ci): auto-assign PR author
Browse files Browse the repository at this point in the history
This adds an action to automatically assign (if possible) a PR to the author of that PR. I use this extensively for myself, and it is especially helpful when viewing a list of PRs and filtering them.

The action will not assign a bot to a PR and it will not assign anyone to PRs that already have users assigned.
  • Loading branch information
boneskull committed Jan 30, 2024
1 parent 06a321e commit c4f40fd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/assign-author.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Auto Author Assign

on:
pull_request_target:
types: [opened, reopened]

permissions:
pull-requests: write

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@ebd30f10fb56e46eb0759a14951f36991426fed0 # v2.1.0

0 comments on commit c4f40fd

Please sign in to comment.