Skip to content

Commit

Permalink
chore: ref를 추가하지 않아서 그 부분 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Doosies committed Nov 14, 2023
1 parent b4dd9d1 commit 397fc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/close-issue-automatically.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
script: |
// 현재 pr 날린 브랜치 이름
const branch_name = context.payload.pull_request.head;
const branch_name = context.payload.pull_request.head.ref;
// 브랜치 이름에 포함된 이슈 번호
const issue_num = branch_name.match(/#(\d+)/)[1];
Expand Down

0 comments on commit 397fc0f

Please sign in to comment.