Skip to content

add: 장소 카테고리 값 추가 #97

add: 장소 카테고리 값 추가

add: 장소 카테고리 값 추가 #97

name: '이슈/PR 자동 할당자 추가'
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@v2
- 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]
})