Skip to content

actions-ecosystem/action-add-assignees

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

a73fcab Β· Aug 4, 2021

History

16 Commits
Aug 4, 2021
May 10, 2020
May 10, 2020
May 10, 2020
May 10, 2020
May 10, 2020
Nov 15, 2020
May 10, 2020
May 10, 2020
May 10, 2020
Nov 22, 2020
May 10, 2020
May 10, 2020
Nov 15, 2020
May 10, 2020
Nov 15, 2020

Repository files navigation

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.