Skip to content

Commit 1cbfe92

Browse files
codeisneveroddgithub-actions
andauthored
브랜치 흐름 정리 (#71)
* docs: 커밋 컨벤션 수정 및 contributor 추가 * Automatic Update README.md * fix: 오타 수정 * docs: 커밋 컨벤션 변경 및 리드미 디자인 수정 * docs: 풀이 완료시점 수정 * Automatic Update README.md * docs: PR 템플릿 추가 Co-authored-by: github-actions <[email protected]>
1 parent 4fb5408 commit 1cbfe92

File tree

6 files changed

+114
-78
lines changed

6 files changed

+114
-78
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## 새롭게 추가된 문제 풀이
2+
3+
<!-- 레벨 / 문제이름 commit 태그-->
4+
<!-- 예시 - 2 / 하노이 탑 b8d055f1ce1361a588882f20f1d59e3eb4dfa318 -->
5+
6+
## 기존 풀이에 추가한 풀이
7+
8+
## 관련 이슈

.github/workflows/update-README.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ on:
77
push:
88
branches:
99
- main
10-
- cruelladevil-readme-test
10+
- manage
1111
pull_request:
1212
branches:
1313
- main
14-
- cruelladevil-readme-test
14+
- manage
1515
jobs:
1616
build:
17-
1817
runs-on: ubuntu-latest
1918

2019
steps:
@@ -23,7 +22,7 @@ jobs:
2322
uses: actions/setup-node@v3
2423
with:
2524
node-version: 16.14.0
26-
cache: 'npm'
25+
cache: "npm"
2726
- name: install package
2827
run: npm install
2928
- name: build README.md

README.md

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,28 @@
1616

1717
### 🧪 기능 구현
1818

19-
| Main Contributors | Contribute Lists | About Me |
20-
| ----------------------------------------------- | --------------------------- | -------- |
21-
| [cruelladevil](https://github.com/cruelladevil) | - README 자동 업데이트 구현 | 🚧 |
19+
| Main Contributors |
20+
| ----------------------------------------------- |
21+
| [cruelladevil](https://github.com/cruelladevil) |
2222

2323

2424

2525
### 🔥 문제 풀이
2626

27-
| Main Contributors | Commits | About Me |
28-
| --------------------------------------------------- | ------- | -------- |
29-
| [codeisneverodd](https://github.com/codeisneverodd) | 🚧 | 🚧 |
30-
| [chaerin-dev](https://github.com/chaerin-dev) | 🚧 | 🚧 |
31-
| [jaewon1676](https://github.com/jaewon1676) | 🚧 | 🚧 |
32-
| [prove-ability](https://github.com/prove-ability) | 🚧 | 🚧 |
33-
| [yongchanson](https://github.com/yongchanson) | 🚧 | 🚧 |
34-
35-
| Contributors | Commits |
36-
| ------------------------------------------- | ------- |
37-
| [createhb21](https://github.com/createhb21) | 🚧 |
38-
| [le2sky](https://github.com/le2sky) | 🚧 |
39-
| [ljw0096](https://github.com/ljw0096) | 🚧 |
27+
| Main Contributors |
28+
| --------------------------------------------------- |
29+
| [codeisneverodd](https://github.com/codeisneverodd) |
30+
| [chaerin-dev](https://github.com/chaerin-dev) |
31+
| [jaewon1676](https://github.com/jaewon1676) |
32+
| [prove-ability](https://github.com/prove-ability) |
33+
| [yongchanson](https://github.com/yongchanson) |
34+
35+
| Contributors |
36+
| ------------------------------------------- |
37+
| [createhb21](https://github.com/createhb21) |
38+
| [le2sky](https://github.com/le2sky) |
39+
| [ljw0096](https://github.com/ljw0096) |
40+
| [minjongbaek](https://github.com/minjongbaek) |
4041

4142
### Level 1 ✅
4243

@@ -106,7 +107,7 @@
106107

107108
- 전체 문제 수: 64문제
108109
- 풀이 문제 수: 52문제
109-
- 풀이 완료 예상 시점: 2022년 4월
110+
- 풀이 완료 예상 시점: 2022년 7월
110111

111112
| 번호 | 문제 출처 | 풀이 |
112113
| --- | ------- | --- |
@@ -167,7 +168,7 @@
167168

168169
- 전체 문제 수: 52문제
169170
- 풀이 문제 수: 9문제
170-
- 풀이 완료 예상 시점: 2022년 8월
171+
- 풀이 완료 예상 시점: 2022년 10월
171172

172173
| 번호 | 문제 출처 | 풀이 |
173174
| --- | ------- | --- |
@@ -203,24 +204,27 @@
203204

204205
## 🙏🏻 아직 풀리지 않은 문제의 해답을 추가해 주세요!
205206
### 커밋 컨벤션
206-
| 접두어 | 작업 내용 |
207-
| ------- | -------------------------------------------------- |
208-
| Create | 새로운 파일 생성 후 문제풀이 코드를 추가 할 경우 |
209-
| Add | 기존 파일에 문제풀이 코드를 추가 할 경우 |
210-
| Update | 파일의 기존 코드를 수정 할 경우 |
211-
| Rename | 파일 혹은 폴더명을 수정하거나 옮기는 작업만일 경우 |
212-
| Remove | 파일을 삭제하는 작업만 수행한 경우 |
213-
| Comment | 주석 추가 및 수정의 경우 |
214-
215-
### 추가 방법
216-
217-
1. 우측 상단의 Fork를 눌러 본인의 GitHub로 이동합니다.
218-
2. Fork한 Repository를 `git clone 자신이-Fork한-자신의-Repository-주소` 를 통해 다운받습니다.
219-
3. 해답을 해당하는 Level의 폴더에 `00-해답-예시.js`에 따라 생성합니다. 이때, **반드시 공백은`-` 바꾸어** 파일 이름을 짓습니다.
220-
4. 자신이 Fork한 자신의 Repository에 push를 한 후, GitHub에서 Create pull request를 통해 기여합니다.
221-
5. 해설은 검수자들의 확인이 끝나는대로 본 Repository에 반영됩니다.
222-
223-
## 저작권
207+
208+
| 접두어 | 작업 내용 |
209+
| -------- | ----------------------------------- |
210+
| solution | 풀이 추가 |
211+
| fix | 모든 종류의 오류 수정 |
212+
| docs | 문서 수정(코드 수정 없음) |
213+
| etc | 위의 경우에 해당하는 것이 없는 경우 |
214+
215+
### 🌱 풀이 기여 방법
216+
217+
1. Fork 한 후 본인의 해설을 추가합니다.
218+
2. 본인의 저장소에서 이곳으로 PR을 하면, 검토 및 코드리뷰 후 반영됩니다.
219+
220+
### 🔥 기여 시 필수 사항
221+
1. 파일 이름은 공백이 없어야하며, 공백은 - 로 채웁니다.(문제풀이 창에서 문제 이름을 복사하여 사용하는 것을 권장드립니다
222+
223+
예시) 가장 먼 노드 => 가장-먼-노드.js // [1차] 뉴스 클러스터링 => [1차]-뉴스-클러스터링
224+
225+
2. 풀이를 추가할 시 반드시 주석을 작성하여야합니다. 기존 파일에 추가할 때는, 기존 해설들의 주석을. 새롭게 파일을 생성하실 때는 00-해답-예시.js 를 참고하시면 됩니다.
226+
227+
## 👉 저작권
224228

225229
해당 Repository의 해답을 자신의 저작물에 추가할 수 있지만 **반드시** 본 Repository의
226230
주소 `https://github.com/codeisneverodd/programmers-coding-test`

package-lock.json

Lines changed: 21 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"homepage": "https://github.com/codeisneverodd/programmers-coding-test#readme",
1919
"dependencies": {
2020
"cheerio": "^1.0.0-rc.10",
21-
"node-fetch": "^3.2.3"
21+
"node-fetch": "^3.2.3",
22+
"prettier": "^2.7.1"
2223
}
2324
}

utils/build.js

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,28 @@ const updateData = `# 프로그래머스 모든 문제 풀이
2222
2323
### 🧪 기능 구현
2424
25-
| Main Contributors | Contribute Lists | About Me |
26-
| ----------------------------------------------- | --------------------------- | -------- |
27-
| [cruelladevil](https://github.com/cruelladevil) | - README 자동 업데이트 구현 | 🚧 |
25+
| Main Contributors |
26+
| ----------------------------------------------- |
27+
| [cruelladevil](https://github.com/cruelladevil) |
2828
2929
3030
3131
### 🔥 문제 풀이
3232
33-
| Main Contributors | Commits | About Me |
34-
| --------------------------------------------------- | ------- | -------- |
35-
| [codeisneverodd](https://github.com/codeisneverodd) | 🚧 | 🚧 |
36-
| [chaerin-dev](https://github.com/chaerin-dev) | 🚧 | 🚧 |
37-
| [jaewon1676](https://github.com/jaewon1676) | 🚧 | 🚧 |
38-
| [prove-ability](https://github.com/prove-ability) | 🚧 | 🚧 |
39-
| [yongchanson](https://github.com/yongchanson) | 🚧 | 🚧 |
40-
41-
| Contributors | Commits |
42-
| ------------------------------------------- | ------- |
43-
| [createhb21](https://github.com/createhb21) | 🚧 |
44-
| [le2sky](https://github.com/le2sky) | 🚧 |
45-
| [ljw0096](https://github.com/ljw0096) | 🚧 |
33+
| Main Contributors |
34+
| --------------------------------------------------- |
35+
| [codeisneverodd](https://github.com/codeisneverodd) |
36+
| [chaerin-dev](https://github.com/chaerin-dev) |
37+
| [jaewon1676](https://github.com/jaewon1676) |
38+
| [prove-ability](https://github.com/prove-ability) |
39+
| [yongchanson](https://github.com/yongchanson) |
40+
41+
| Contributors |
42+
| ------------------------------------------- |
43+
| [createhb21](https://github.com/createhb21) |
44+
| [le2sky](https://github.com/le2sky) |
45+
| [ljw0096](https://github.com/ljw0096) |
46+
| [minjongbaek](https://github.com/minjongbaek) |
4647
4748
### Level 1 ✅
4849
@@ -58,7 +59,7 @@ ${getTableStr(1)}
5859
5960
- 전체 문제 수: 64문제
6061
- 풀이 문제 수: ${getInfoList(2).length}문제
61-
- 풀이 완료 예상 시점: 2022년 4월
62+
- 풀이 완료 예상 시점: 2022년 7월
6263
6364
| 번호 | 문제 출처 | 풀이 |
6465
| --- | ------- | --- |
@@ -68,7 +69,7 @@ ${getTableStr(2)}
6869
6970
- 전체 문제 수: 52문제
7071
- 풀이 문제 수: ${getInfoList(3).length}문제
71-
- 풀이 완료 예상 시점: 2022년 8월
72+
- 풀이 완료 예상 시점: 2022년 10월
7273
7374
| 번호 | 문제 출처 | 풀이 |
7475
| --- | ------- | --- |
@@ -96,24 +97,27 @@ ${getTableStr(5)}
9697
9798
## 🙏🏻 아직 풀리지 않은 문제의 해답을 추가해 주세요!
9899
### 커밋 컨벤션
99-
| 접두어 | 작업 내용 |
100-
| ------- | -------------------------------------------------- |
101-
| Create | 새로운 파일 생성 후 문제풀이 코드를 추가 할 경우 |
102-
| Add | 기존 파일에 문제풀이 코드를 추가 할 경우 |
103-
| Update | 파일의 기존 코드를 수정 할 경우 |
104-
| Rename | 파일 혹은 폴더명을 수정하거나 옮기는 작업만일 경우 |
105-
| Remove | 파일을 삭제하는 작업만 수행한 경우 |
106-
| Comment | 주석 추가 및 수정의 경우 |
107-
108-
### 추가 방법
109-
110-
1. 우측 상단의 Fork를 눌러 본인의 GitHub로 이동합니다.
111-
2. Fork한 Repository를 \`git clone 자신이-Fork한-자신의-Repository-주소\` 를 통해 다운받습니다.
112-
3. 해답을 해당하는 Level의 폴더에 \`00-해답-예시.js\`에 따라 생성합니다. 이때, **반드시 공백은\`-\` 바꾸어** 파일 이름을 짓습니다.
113-
4. 자신이 Fork한 자신의 Repository에 push를 한 후, GitHub에서 Create pull request를 통해 기여합니다.
114-
5. 해설은 검수자들의 확인이 끝나는대로 본 Repository에 반영됩니다.
115-
116-
## 저작권
100+
101+
| 접두어 | 작업 내용 |
102+
| -------- | ----------------------------------- |
103+
| solution | 풀이 추가 |
104+
| fix | 모든 종류의 오류 수정 |
105+
| docs | 문서 수정(코드 수정 없음) |
106+
| etc | 위의 경우에 해당하는 것이 없는 경우 |
107+
108+
### 🌱 풀이 기여 방법
109+
110+
1. Fork 한 후 본인의 해설을 추가합니다.
111+
2. 본인의 저장소에서 이곳으로 PR을 하면, 검토 및 코드리뷰 후 반영됩니다.
112+
113+
### 🔥 기여 시 필수 사항
114+
1. 파일 이름은 공백이 없어야하며, 공백은 - 로 채웁니다.(문제풀이 창에서 문제 이름을 복사하여 사용하는 것을 권장드립니다
115+
116+
예시) 가장 먼 노드 => 가장-먼-노드.js // [1차] 뉴스 클러스터링 => [1차]-뉴스-클러스터링
117+
118+
2. 풀이를 추가할 시 반드시 주석을 작성하여야합니다. 기존 파일에 추가할 때는, 기존 해설들의 주석을. 새롭게 파일을 생성하실 때는 00-해답-예시.js 를 참고하시면 됩니다.
119+
120+
## 👉 저작권
117121
118122
해당 Repository의 해답을 자신의 저작물에 추가할 수 있지만 **반드시** 본 Repository의
119123
주소 \`https://github.com/codeisneverodd/programmers-coding-test\`

0 commit comments

Comments
 (0)