项目作者: actions-ecosystem

项目描述 :
👉 GitHub Action to add assignees
高级语言: TypeScript
项目地址: git://github.com/actions-ecosystem/action-add-assignees.git
创建时间: 2020-05-10T00:59:23Z
项目社区:https://github.com/actions-ecosystem/action-add-assignees

开源协议:Apache License 2.0

下载


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

  1. name: Auto Assign
  2. on:
  3. pull_request:
  4. types:
  5. - opened
  6. - reopened
  7. jobs:
  8. add_assignees:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions-ecosystem/action-add-assignees@v1
  12. with:
  13. github_token: ${{ secrets.github_token }}
  14. assignees: ${{ github.actor }}

License

Copyright 2020 The Actions Ecosystem Authors.

Action Add Assignees is released under the Apache License 2.0.