feat: 카카오 로그인 중 사용자 정보 확인 로직을 안드로이드에서 백엔드로 이관 #51
Workflow file for this run
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 Close Issues on Merge | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
close-related-issue: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true && github.base.ref != 'main' | |
steps: | |
- name: Extract and Close Issue | |
run: | | |
PR_BODY="${{ github.event.pull_request.body }}" | |
ISSUE_NUMBERS=$(echo $PR_BODY | grep -oP 'close #\d+' | awk '{print substr($2, 2)}') | |
for ISSUE_NUMBER in $ISSUE_NUMBERS; do | |
gh api -X PATCH /repos/${{ github.repository }}/issues/$ISSUE_NUMBER --field state=closed | |
done | |
env: | |
GITHUB_TOKEN: ${{ secrets.AUTO_CLOSE_GITHUB_TOKEN }} |