✨ Feat: 유저 삭제 기능 추가 #64
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 Assignee and Admin Label | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
assign-reviewers-and-labels: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Assign PR to yourself | |
run: | | |
curl -X PATCH \ | |
-H "Authorization: Bearer ${{ secrets.LHCI_GITHUB_APP_TOKEN }}" \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-d '{"assignees":["a-honey"]}' \ | |
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}" | |
- name: Add label Domain:Admin | |
run: | | |
curl -X POST \ | |
-H "Authorization: Bearer ${{ secrets.LHCI_GITHUB_APP_TOKEN }}" \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
-d '{"labels":["Domain: Admin"]}' \ | |
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels" |