Read this in other languages: English, 日本語.
Issue や Pull Request に Author をアサインする GitHub Actions です。
Table of Contents
- workflow を設定
e.g..github/workflows/pull_request.yml
e.g.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 }}
.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 }}
eventName | action |
---|---|
pull_request | opened |
pull_request | rerequested |
issues | opened |
issues | rerequested |