Skip to content

Commit 2f82de3

Browse files
committed
Merge branch 'main' of github.com:nettee-space/frontend-sample-monorepo-simple-crud into feature/post-list
2 parents df42eae + cc23ffe commit 2f82de3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/status-labels-on-merge.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
await github.rest.issues.getLabel({
2222
owner: context.repo.owner,
2323
repo: context.repo.repo,
24-
name: 'status:done'
24+
name: 'status: done'
2525
});
2626
} catch (error) {
2727
if (error.status === 404) {
28-
console.error(`'status:done' 라벨이 저장소에 존재하지 않습니다.`);
28+
console.error(`'status: done' 라벨이 저장소에 존재하지 않습니다.`);
2929
return;
3030
}
3131
console.error('라벨 확인 중 오류:', error);
@@ -42,7 +42,7 @@ jobs:
4242
4343
// status:done이 아닌 status: 라벨 제거
4444
await Promise.all(statusLabels
45-
.filter(label => label.name !== 'status:done')
45+
.filter(label => label.name !== 'status: done')
4646
.map(label => github.rest.issues.removeLabel({
4747
owner: context.repo.owner,
4848
repo: context.repo.repo,
@@ -54,12 +54,12 @@ jobs:
5454
);
5555
5656
// status:done 라벨 추가
57-
if (!statusLabels.some(label => label.name === 'status:done')) {
57+
if (!statusLabels.some(label => label.name === 'status: done')) {
5858
await github.rest.issues.addLabels({
5959
owner: context.repo.owner,
6060
repo: context.repo.repo,
6161
issue_number: issueNumber,
62-
labels: ['status:done']
62+
labels: ['status: done']
6363
});
6464
}
6565

0 commit comments

Comments
 (0)