Skip to content

fix(web-domains): ๋งˆ์ดํ”„๋กœํ•„ ๋‚ด ์ทจ๋ฏธ ๋ฆฌ์ŠคํŠธ ๋ ˆ์ด๋ธ” ํ…์ŠคํŠธ ์ˆ˜์ • #264

fix(web-domains): ๋งˆ์ดํ”„๋กœํ•„ ๋‚ด ์ทจ๋ฏธ ๋ฆฌ์ŠคํŠธ ๋ ˆ์ด๋ธ” ํ…์ŠคํŠธ ์ˆ˜์ •

fix(web-domains): ๋งˆ์ดํ”„๋กœํ•„ ๋‚ด ์ทจ๋ฏธ ๋ฆฌ์ŠคํŠธ ๋ ˆ์ด๋ธ” ํ…์ŠคํŠธ ์ˆ˜์ • #264

Workflow file for this run

name: Auto Approve PR
on:
pull_request:
types: [labeled]
jobs:
auto-approve:
if: github.event.label.name == 'auto approve'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Auto approve PR
run: |
PR_NUMBER=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
REVIEW_BODY="๊ณ ์ƒํ–ˆ๋‹ค. ๐ŸŽ‰๐Ÿ‘๐Ÿฝ"
curl -s -X POST \
-H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{\"event\":\"APPROVE\", \"body\":\"${REVIEW_BODY}\"}" \
"https://api.github.com/repos/${{ github.repository }}/pulls/${PR_NUMBER}/reviews"