Skip to content

Commit e81c74a

Browse files
committed
Infra: 자동화 워크 플로우 추가
- PR과 연관된 이슈 닫기 - feature 브랜치 제거 자동화
1 parent cdb206f commit e81c74a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/auto-delete-branch.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Close linked issues
1717
uses: actions/github-script@v6
1818
with:
19-
github-token: ${{ secrets.PROJECT_GITHUB_TOKEN }}
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
2020
script: |
2121
const pr = context.payload.pull_request;
2222
const text = `${pr.title}\n${pr.body || ''}`;
@@ -36,6 +36,7 @@ jobs:
3636
state: "closed"
3737
});
3838
}
39+
}
3940
4041
// 🗑️ 병합된 브랜치 삭제 (main, dev 보호)
4142
const headBranch = pr.head.ref;

0 commit comments

Comments
 (0)