Skip to content

Latest commit

 

History

History
91 lines (80 loc) · 4.49 KB

README.ja.md

File metadata and controls

91 lines (80 loc) · 4.49 KB

Assign Author

CI Status codecov CodeFactor License: MIT

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

Issue や Pull Request に Author をアサインする GitHub Actions です。

Table of Contents

スクリーンショット

GitHub Action

インストール

  1. 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 イベント詳細

対象イベント

eventName action
pull_request opened
pull_request rerequested
issues opened
issues rerequested

このアクションを使用しているアクションの例

Author

GitHub (Technote)
Blog