Read this in other languages: English, 日本語.
GitHub Actions
to assign author to issue or PR.
- Setup 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
.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
eventName | action |
---|---|
pull_request, pull_request_target | opened, reopened |
issues | opened, reopened |