[react-pdf] canvas와 svg로 pdf를 rendering 할 수 있는 컴포넌트를 구현합니다. #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'add assignee to pull request automatically' | |
on: | |
pull_request: | |
types: [ opened, ready_for_review, synchronize, reopened ] | |
branches: | |
- '**' | |
- '!main' | |
jobs: | |
ADD_ASSIGNEE_TO_PULL_REQUEST: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add Assignee to pr | |
uses: actions/github-script@v3 | |
with: | |
script: | | |
try { | |
const result = await github.pulls.get({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
pull_number: context.payload.number, | |
}) | |
console.log(result) | |
if (result.data.assignee === null) { | |
await github.issues.addAssignees({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.issue.number, | |
assignees: context.actor, | |
}) | |
} | |
} catch (err) { | |
console.error(`Check Pull Request Error ${err}`) | |
} | |