Skip to content

Feat/#103 유저 / 플레이리스트 / 채팅 더미 데이터 추가 #36

Feat/#103 유저 / 플레이리스트 / 채팅 더미 데이터 추가

Feat/#103 유저 / 플레이리스트 / 채팅 더미 데이터 추가 #36

name: auto assign author to assignees
on:
pull_request:
types: [opened]
jobs:
add-assignees:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Add assignee
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.addAssignees({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
assignees: [context.payload.pull_request.user.login]
})