File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jobs:
21
21
await github.rest.issues.getLabel({
22
22
owner: context.repo.owner,
23
23
repo: context.repo.repo,
24
- name: 'status:done'
24
+ name: 'status: done'
25
25
});
26
26
} catch (error) {
27
27
if (error.status === 404) {
28
- console.error(`'status:done' 라벨이 저장소에 존재하지 않습니다.`);
28
+ console.error(`'status: done' 라벨이 저장소에 존재하지 않습니다.`);
29
29
return;
30
30
}
31
31
console.error('라벨 확인 중 오류:', error);
42
42
43
43
// status:done이 아닌 status: 라벨 제거
44
44
await Promise.all(statusLabels
45
- .filter(label => label.name !== 'status:done')
45
+ .filter(label => label.name !== 'status: done')
46
46
.map(label => github.rest.issues.removeLabel({
47
47
owner: context.repo.owner,
48
48
repo: context.repo.repo,
@@ -54,12 +54,12 @@ jobs:
54
54
);
55
55
56
56
// status:done 라벨 추가
57
- if (!statusLabels.some(label => label.name === 'status:done')) {
57
+ if (!statusLabels.some(label => label.name === 'status: done')) {
58
58
await github.rest.issues.addLabels({
59
59
owner: context.repo.owner,
60
60
repo: context.repo.repo,
61
61
issue_number: issueNumber,
62
- labels: ['status:done']
62
+ labels: ['status: done']
63
63
});
64
64
}
65
65
You can’t perform that action at this time.
0 commit comments