go-waku/.github/workflows/auto_assign_pr.yml

17 lines
364 B
YAML

name: Auto Assign PR to Creator
on:
pull_request:
types:
- opened
jobs:
assign_creator:
runs-on: ubuntu-latest
steps:
- name: Assign PR to author
run: |
gh pr edit ${{ github.event.pull_request.number }} --add-assignee "${{ github.event.pull_request.user.login }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}