[react pdf] scss를 적용합니다. #19
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}`) | |
} | |