[Fix] 최상위 Suspense 위치를 msw provider에서 root layout으로 이동 #254
Workflow file for this run
This file contains hidden or 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: Auto Apply PR Settings | |
| on: | |
| pull_request: | |
| types: [opened, reopened] | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| jobs: | |
| assign: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Assign reviewers by author | |
| uses: actions/github-script@v7 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| script: | | |
| const author = context.payload.pull_request.user.login; | |
| const reviewerMap = { | |
| 'yoorli': ['Chiman2937'], | |
| 'claudia99503': ['HopeFullee'], | |
| 'HopeFullee': ['claudia99503'], | |
| 'wooktori': ['yoorli'], | |
| 'Chiman2937': ['wooktori'], | |
| }; | |
| let reviewers = reviewerMap[author]; | |
| // 리뷰어 등록 | |
| if (reviewers) { | |
| reviewers = reviewers.filter(reviewer => reviewer !== author); | |
| if (reviewers.length > 0) { | |
| await github.rest.pulls.requestReviewers({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| pull_number: context.payload.pull_request.number, | |
| reviewers: reviewers | |
| }); | |
| } | |
| } | |
| // 본인을 담당자로 등록 | |
| await github.rest.issues.addAssignees({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.payload.pull_request.number, | |
| assignees: [author] | |
| }); |