Skip to content
users

GitHub Action

Actions Ecosystem Action Add Assignees

v1.0.0 Latest version

Actions Ecosystem Action Add Assignees

users

Actions Ecosystem Action Add Assignees

Add assignees to an issue or a pull request

Installation

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

              

- name: Actions Ecosystem Action Add Assignees

uses: actions-ecosystem/[email protected]

Learn more about this action in actions-ecosystem/action-add-assignees

Choose a version

Action Add Assignees

actions-workflow-test release license

screenshot

This is a GitHub Action to add assignees to an issue or a pull request.

It would be more useful to use this with other GitHub Actions' outputs.

Inputs

NAME DESCRIPTION TYPE REQUIRED DEFAULT
github_token A GitHub token. string true N/A
assignees The assignees' name to be added. Must be separated with line breaks if there're multiple assignees. string true N/A
number The number of the issue or pull request. number false N/A
repo The owner and repository name. e.g.) Codertocat/Hello-World string false ${{ github.repository }}

Example

name: Auto Assign

on:
  pull_request:
    types:
      - opened
      - reopened

jobs:
  add_assignees:
    runs-on: ubuntu-latest
    steps:
      - uses: actions-ecosystem/action-add-assignees@v1
        with:
          github_token: ${{ secrets.github_token }}
          assignees: ${{ github.actor }}

License

Copyright 2020 The Actions Ecosystem Authors.

Action Add Assignees is released under the Apache License 2.0.