Skip to content

refactor: migrate to latest prettier #330

refactor: migrate to latest prettier

refactor: migrate to latest prettier #330

name: Assign PR author
on:
pull_request_target:
types: [opened]
jobs:
assign-author:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Assign PR author
uses: actions/github-script@v7
with:
script: |
github.rest.issues.addAssignees({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
assignees: [context.payload.pull_request.user.login]
})