Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
user-plus

GitHub Action

Assign Author

v1.2.6

Assign Author

user-plus

Assign Author

GitHub actions to assign author to issue or PR

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Assign Author

uses: technote-space/assign-author@v1.2.6

Learn more about this action in technote-space/assign-author

Choose a version

Assign Author

CI Status codecov CodeFactor License: MIT

Read this in other languages: English, 日本語.

GitHub Actions to assign author to issue or PR.

Table of Contents

Screenshot

GitHub Action

Installation

  1. Setup workflow
    e.g. .github/workflows/pull_request.yml
    on:
      pull_request:
        types: [opened]
    name: Pull Request
    jobs:
      assignAuthor:
        name: Assign author to PR
        runs-on: ubuntu-latest
        steps:
          - name: Assign author to PR
            uses: technote-space/assign-author@v1
            with:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    e.g. .github/workflows/issues.yml
    on:
      issues:
        types: [opened]
    name: Issues
    jobs:
      assignAuthor:
        name: Assign author to issue
        runs-on: ubuntu-latest
        steps:
          - name: Assign author to issue
            uses: technote-space/assign-author@v1
            with:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Action event details

Target events

eventName action
pull_request opened
pull_request rerequested
issues opened
issues rerequested

GitHub Actions using this Action

Author

GitHub (Technote)
Blog