Skip to content

toshimaru/auto-author-assign

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

auto-author-assign

GitHub Actions: Assign pull request author automatically.

OG image

Why this action?

In most cases, pull request author should be assigned an assignee of the pull request.

This action automatically assigns PR author as an assignee.

Usage

# .github/workflows/auto-author-assign.yml
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@v1.4.0

Use your token

You can specify your own token.

jobs:
  assign-author:
    runs-on: ubuntu-latest
    steps:
      - uses: toshimaru/auto-author-assign
        with:
          repo-token: "${{ secrets.YOUR_TOKEN }}"

If not specified, GITHUB_TOKEN will be used by default.

Skip assigning author

auto-author-assign action skips assigning the author when:

  • Someone is already assigned as an assignee
  • The author is a bot