fix: column명 대소문자변환, 쿼리변경 #74
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: Auto assign | |
on: | |
pull_request: | |
types: [opened] | |
permissions: write-all | |
jobs: | |
auto_add: | |
name: Auto add reviewer and assignee | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
case "$AUTHOR" in | |
hanni66) | |
reviewer="cherry-go-round" | |
;; | |
cherry-go-round) | |
reviewer="sshinylee" | |
;; | |
sshinylee) | |
reviewer="Berygna" | |
;; | |
Berygna) | |
reviewer="immyeong" | |
;; | |
immyeong) | |
reviewer="hanni66" | |
;; | |
esac | |
gh pr edit ${{ github.event.pull_request.number }} --add-assignee "$AUTHOR" --add-reviewer "$reviewer" --repo "$GITHUB_REPOSITORY" | |
env: | |
GH_TOKEN: ${{ secrets.PR_ASSIGN_KEY }} | |
AUTHOR: ${{ github.event.sender.login }} | |
OWNER: ${{ github.repository_owner }} | |
REPO: ${{ github.event.repository.name }} |