Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## 📢 기능 설명

필요시 실행결과 스크린샷 첨부
<br>

## 연결된 issue

연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요. <br>
close #{이슈넘버}
<br>
<br>

## 🩷 Approve 하기 전 확인해주세요!

- [ ] 리뷰어가 확인해줬으면 하는 사항 적어주세요.
- [ ]

<br>

## ✅ 체크리스트

- [ ] PR 제목 규칙 잘 지켰는가?
- [ ] 추가/수정사항을 설명하였는가?
- [ ] 이슈넘버를 적었는가?
- [ ] Approve 하기 전 확인 사항 체크했는가?
57 changes: 57 additions & 0 deletions .github/workflows/autoIssue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# 워크플로우 이름
name: 이슈 자동화

# 실행 조건: 이슈가 열렸을 때
on:
issues:
types: [ opened ]

# 실행할 작업
jobs:
automate-issue:
runs-on: ubuntu-latest
permissions:
issues: write
contents: read

steps:
# 이슈 제목에 따라 Label 자동 할당 (예시)
- name: design 라벨 할당
if: contains(github.event.issue.title, 'design')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: design

- name: feat 라벨 할당
if: contains(github.event.issue.title, 'feat')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: feat

- name: fix 라벨 할당
if: contains(github.event.issue.title, 'fix')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: fix

- name: refactor 라벨 할당
if: contains(github.event.issue.title, 'refactor')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: refactor

- name: chore 라벨 할당
if: contains(github.event.issue.title, 'chore')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: chore


# GitHub 프로젝트의 'Backlog' 컬럼에 자동 추가
- name : Github 프로젝트에 추가
uses: jinhokim98/project-flow-add-issue-to-project@v1
with:
github_token: ${{ secrets.PROJECT_ACCESS_TOKEN }}
project_owner: prgrms-web-devcourse-final-project
project_number: 145
target_column: 'Backlog'
73 changes: 73 additions & 0 deletions .github/workflows/autoPR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# 워크플로우 이름
name: PR 자동화

# 실행 조건: main, dev/** 브랜치로 PR이 열렸을 때
on:
pull_request:
branches: [ main, dev, 'dev/**' ]
types: [ opened ]

# 실행할 작업
jobs:
automate-pr:
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
contents: read

steps:
# PR 작성자를 Assignee로 자동 할당
- name: PR 작성자를 담당자로 할당
uses: actions-ecosystem/action-add-assignees@v1
with:
github_token: ${{ secrets.PROJECT_ACCESS_TOKEN }}
assignees: ${{ github.event.pull_request.user.login }}


# PR 제목에 따라 Label 자동 할당 (예시)
# - name: 제목에 'feat'가 있으면 'feature' 라벨 추가
# if: contains(github.event.pull_request.title, 'feat')
# uses: actions-ecosystem/action-add-labels@v1
# with:
# labels: feature


# PR 제목에 따라 Label 자동 할당
- name: design 라벨 할당
if: contains(github.event.pull_request.title, 'design')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: design

- name: feat 라벨 할당
if: contains(github.event.pull_request.title, 'feat')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: feat

- name: fix 라벨 할당
if: contains(github.event.pull_request.title, 'fix')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: fix

- name: refactor 라벨 할당
if: contains(github.event.pull_request.title, 'refactor')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: refactor

- name: chore 라벨 할당
if: contains(github.event.pull_request.title, 'chore')
uses: actions-ecosystem/action-add-labels@v1
with:
labels: chore


# '연습용 프로젝트'에 등록
- name: GitHub 프로젝트에 추가
uses: actions/[email protected]
with:
project-url: "https://github.com/orgs/prgrms-web-devcourse-final-project/projects/145"
github-token: ${{ secrets.PROJECT_ACCESS_TOKEN }}
Binary file added db_dev.mv.db
Binary file not shown.