Skip to content

Commit

Permalink
이슈 라벨링 워크플로 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
BangDori committed Nov 7, 2024
1 parent 393713c commit 1582971
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 9 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/issue_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Issue Labeling

on:
issue_comment:
types: [created]
issues:
types: [closed]

jobs:
update-label:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set "검토 중" label on comment
if: github.event_name == 'issue_comment' && github.event.issue.state == 'open'
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: "검토 중"
issue_number: ${{ github.event.issue.number }}

- name: Set "검토 완료" label on close
if: github.event_name == 'issues' && github.event.action == 'closed'
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: "검토 완료"
issue_number: ${{ github.event.issue.number }}
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
## 🧑‍💻 블로깅

1. 스터디에 참여하려는 개발자는 자신이 올린 블로그 링크를 라벨 `초안` 과 함께 게시합니다.
1. 참여원은 아래 내용의 기반해서 검토를 합니다.

- 제목 : 글 제목
- 내용 :
예상 독자 : 서버 개발에 관심있는 백엔드 개발자
[블로그 링크](https://velog.io/@dragonsu/%EC%8B%A4%EC%A0%9C-%EC%82%AC%EC%9A%A9%EC%9E%90%EA%B0%80-%EC%A1%B4%EC%9E%AC%ED%95%98%EB%8A%94-%EC%84%9C%EB%B9%84%EC%8A%A4%EB%8A%94-%EC%96%B4%EB%96%A8%EA%B9%8C-%ED%9A%8C%EA%B3%A0)


2. 참여원은 아래 내용의 기반해서 검토를 합니다.
- 내용 주제 주제가 쉽고 명확하게 제시되어 있는가?
- 작성자가 이 글에서 대상으로 하고 있는 예상 독자는 누구인가?
- 이 글의 목적과 주제가 대상 독자에게 적절한가?
Expand All @@ -17,4 +10,4 @@
- 일관성 글의 주제에서 벗어난 내용은 없는가?
- 각 제목이 해당 단락이나 섹션의 핵심 내용을 잘 나타내고 있는가? 제목만 보고 문서나 문단 내용을 파악할 수 있는가?

3. 검토과 완료된 문서는 라벨을 `검토 완료` 로 변경합니다.
2. 최소 1명의 검토가 완료된 문서는 이슈 등록 후 7일이 지난 시점에 Close issue 합니다.

0 comments on commit 1582971

Please sign in to comment.