Skip to content

Commit

Permalink
feat: pr edit 부분 repository 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsu5582 committed Jul 22, 2024
1 parent 7409abc commit 4992aa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ jobs:
IFS=',' read -r -a LABEL_ARRAY <<< "${{ env.LABELS }}"
for LABEL in "${LABEL_ARRAY[@]}"; do
if [[ "$LABEL" == "BE" ]]; then
gh pr edit "${{ env.PR_NUMBER }}" --add-reviewer "ashsty,jcoding-play,hjk0761,youngsu5582"
gh pr edit "${{ env.PR_NUMBER }}" --repo woowacourse-teams/2024-corea --add-reviewer "ashsty,jcoding-play,hjk0761,youngsu5582"
elif [[ "$LABEL" == "FE" ]]; then
gh pr edit "${{ env.PR_NUMBER }}" --add-reviewer "00kang,pp449,chlwlstlf"
gh pr edit "${{ env.PR_NUMBER }}" --repo woowacourse-teams/2024-corea --add-reviewer "00kang,pp449,chlwlstlf"
fi
gh pr edit "${{ env.PR_NUMBER }}" --add-label "$LABEL" --remove-reviewer "${{ env.ASSIGNEES }}"
gh pr edit "${{ env.PR_NUMBER }}" --repo woowacourse-teams/2024-corea --add-label "$LABEL" --remove-reviewer "${{ env.ASSIGNEES }}"
done
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 4992aa4

Please sign in to comment.