Skip to content

step-security/assign-author

Repository files navigation

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

Details

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: step-security/assign-author@v1
    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: step-security/assign-author@v1

Action event details

Target events

eventName action
pull_request, pull_request_target opened, reopened
issues opened, reopened