Skip to content

[WIP][Feat#436] 주간 아티클 TOP5 이메일 전송 배치 추가 #187

[WIP][Feat#436] 주간 아티클 TOP5 이메일 전송 배치 추가

[WIP][Feat#436] 주간 아티클 TOP5 이메일 전송 배치 추가 #187

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@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]
})