|
| 1 | +# Assign Author |
| 2 | + |
| 3 | +[](https://github.com/technote-space/assign-author/actions) |
| 4 | +[](https://codecov.io/gh/technote-space/assign-author) |
| 5 | +[](https://www.codefactor.io/repository/github/technote-space/assign-author) |
| 6 | +[](https://github.com/technote-space/assign-author/blob/master/LICENSE) |
| 7 | + |
| 8 | +*Read this in other languages: [English](README.md), [日本語](README.ja.md).* |
| 9 | + |
| 10 | +Issue や Pull Request に Author をアサインする GitHub Actions です。 |
| 11 | + |
| 12 | +## Table of Contents |
| 13 | + |
| 14 | +<!-- START doctoc generated TOC please keep comment here to allow auto update --> |
| 15 | +<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> |
| 16 | +<details> |
| 17 | +<summary>Details</summary> |
| 18 | + |
| 19 | +- [スクリーンショット](#%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88) |
| 20 | +- [インストール](#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB) |
| 21 | +- [Action イベント詳細](#action-%E3%82%A4%E3%83%99%E3%83%B3%E3%83%88%E8%A9%B3%E7%B4%B0) |
| 22 | + - [対象イベント](#%E5%AF%BE%E8%B1%A1%E3%82%A4%E3%83%99%E3%83%B3%E3%83%88) |
| 23 | +- [このアクションを使用しているリポジトリの例](#%E3%81%93%E3%81%AE%E3%82%A2%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%E3%81%AE%E4%BE%8B) |
| 24 | +- [Author](#author) |
| 25 | + |
| 26 | +</details> |
| 27 | +<!-- END doctoc generated TOC please keep comment here to allow auto update --> |
| 28 | + |
| 29 | +## スクリーンショット |
| 30 | + |
| 31 | + |
| 32 | +## インストール |
| 33 | +1. workflow を設定 |
| 34 | + e.g. `.github/workflows/pull_request.yml` |
| 35 | + ```yaml |
| 36 | + on: |
| 37 | + pull_request: |
| 38 | + types: [opened] |
| 39 | + name: Pull Request |
| 40 | + jobs: |
| 41 | + assignAuthor: |
| 42 | + name: Assign author to PR |
| 43 | + runs-on: ubuntu-latest |
| 44 | + steps: |
| 45 | + - name: Assign author to PR |
| 46 | + uses: technote-space/assign-author@v1 |
| 47 | + ``` |
| 48 | + e.g. `.github/workflows/issues.yml` |
| 49 | + ```yaml |
| 50 | + on: |
| 51 | + issues: |
| 52 | + types: [opened] |
| 53 | + name: Issues |
| 54 | + jobs: |
| 55 | + assignAuthor: |
| 56 | + name: Assign author to issue |
| 57 | + runs-on: ubuntu-latest |
| 58 | + steps: |
| 59 | + - name: Assign author to issue |
| 60 | + uses: technote-space/assign-author@v1 |
| 61 | + ``` |
| 62 | + |
| 63 | +## Action イベント詳細 |
| 64 | +### 対象イベント |
| 65 | +| eventName | action | |
| 66 | +|:---:|:---:| |
| 67 | +|pull_request|opened| |
| 68 | +|pull_request|rerequested| |
| 69 | +|issues|opened| |
| 70 | +|issues|rerequested| |
| 71 | + |
| 72 | +## このアクションを使用しているリポジトリの例 |
| 73 | +- [Release GitHub Actions](https://github.com/technote-space/release-github-actions) |
| 74 | + - [issue-opened.yml](https://github.com/technote-space/release-github-actions/blob/master/.github/workflows/issue-opened.yml) |
| 75 | + - [pr-opened.yml](https://github.com/technote-space/release-github-actions/blob/master/.github/workflows/pr-opened.yml) |
| 76 | +- [Auto card labeler](https://github.com/technote-space/auto-card-labeler) |
| 77 | + - [issue-opened.yml](https://github.com/technote-space/auto-card-labeler/blob/master/.github/workflows/issue-opened.yml) |
| 78 | + - [pr-opened.yml](https://github.com/technote-space/auto-card-labeler/blob/master/.github/workflows/pr-opened.yml) |
| 79 | +- [Assign Author](https://github.com/technote-space/assign-author) |
| 80 | + - [issue-opened.yml](https://github.com/technote-space/assign-author/blob/master/.github/workflows/issue-opened.yml) |
| 81 | + - [pr-opened.yml](https://github.com/technote-space/assign-author/blob/master/.github/workflows/pr-opened.yml) |
| 82 | +- [TOC Generator](https://github.com/technote-space/toc-generator) |
| 83 | + - [issue-opened.yml](https://github.com/technote-space/toc-generator/blob/master/.github/workflows/issue-opened.yml) |
| 84 | + - [pr-opened.yml](https://github.com/technote-space/toc-generator/blob/master/.github/workflows/pr-opened.yml) |
| 85 | +- [Package Version Check Action](https://github.com/technote-space/package-version-check-action) |
| 86 | + - [issue-opened.yml](https://github.com/technote-space/package-version-check-action/blob/master/.github/workflows/issue-opened.yml) |
| 87 | + - [pr-opened.yml](https://github.com/technote-space/package-version-check-action/blob/master/.github/workflows/pr-opened.yml) |
| 88 | +- [Get Diff Action](https://github.com/technote-space/get-diff-action) |
| 89 | + - [issue-opened.yml](https://github.com/technote-space/get-diff-action/blob/master/.github/workflows/issue-opened.yml) |
| 90 | + - [pr-opened.yml](https://github.com/technote-space/get-diff-action/blob/master/.github/workflows/pr-opened.yml) |
| 91 | +- [Create Project Card Action](https://github.com/technote-space/create-project-card-action) |
| 92 | + - [issue-opened.yml](https://github.com/technote-space/create-project-card-action/blob/master/.github/workflows/issue-opened.yml) |
| 93 | + - [pr-opened.yml](https://github.com/technote-space/create-project-card-action/blob/master/.github/workflows/pr-opened.yml) |
| 94 | +- [Get git comment action](https://github.com/technote-space/get-git-comment-action) |
| 95 | + - [issue-opened.yml](https://github.com/technote-space/get-git-comment-action/blob/master/.github/workflows/issue-opened.yml) |
| 96 | + - [pr-opened.yml](https://github.com/technote-space/get-git-comment-action/blob/master/.github/workflows/pr-opened.yml) |
| 97 | + |
| 98 | +## Author |
| 99 | +[GitHub (Technote)](https://github.com/technote-space) |
| 100 | +[Blog](https://technote.space) |
0 commit comments