20 lines
531 B
YAML
20 lines
531 B
YAML
name: Auto Author Assign
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, ready_for_review, draft]
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
assign-author:
|
|
runs-on: ubuntu-latest
|
|
if: |
|
|
github.event.pull_request.author_association == 'MEMBER' ||
|
|
github.event.pull_request.author_association == 'OWNER' ||
|
|
github.event.pull_request.author_association == 'COLLABORATOR' ||
|
|
github.event.pull_request.author_association == 'CONTRIBUTOR'
|
|
steps:
|
|
- uses: toshimaru/[email protected]
|