Skip to content
Closed
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
14 changes: 14 additions & 0 deletions .github/workflows/assign-issue-creator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 각 레포지토리의 .github/workflows/assign-issue-creator.yml

name: Assign issue creator

on:
issues:
types: [opened]

jobs:
call-reusable-workflow:
# @main 은 .github 레포지토리의 main 브랜치를 사용한다는 의미입니다. 버전을 위해 @v1과 같이 태그를 사용하는 것을 권장합니다.
uses: 33-Auto/.github/.github/workflows/reusable-assign-issue-creator.yml@main
# 이 워크플로우는 secrets를 전달할 필요가 없지만, 필요 시 아래와 같이 전달합니다.
# secrets: inherit
19 changes: 19 additions & 0 deletions .github/workflows/close-issues-on-dev-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 각 레포지토리의 .github/workflows/close-issues-on-dev-merge.yml

name: Auto Close Issues on dev merge

on:
pull_request:
types: [closed]

jobs:
call-reusable-workflow:
if: >
github.event.pull_request.merged == true &&
github.event.pull_request.base.ref == 'dev'
uses: 33-Auto/.github/.github/workflows/reusable-close-linked-issues.yml@main
# with를 통해 재사용 워크플로우의 inputs에 값을 전달합니다.
with:
pr-body: ${{ github.event.pull_request.body }}
issue-number: ${{ github.event.pull_request.number }}
secrets: inherit # 재사용 워크플로우가 GITHUB_TOKEN을 사용할 수 있도록 전달
17 changes: 17 additions & 0 deletions .github/workflows/request-pr-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 각 레포지토리의 .github/workflows/request-pr-review.yml

name: PR Assignee & Team Review Request

on:
pull_request:
types: [opened, reopened, ready_for_review]

jobs:
call-reusable-workflow:
uses: 33-Auto/.github/.github/workflows/reusable-pr-assign-and-review.yml@main
with:
team-slug-for-review: "review_avengers" # 여기에 리뷰를 요청할 팀의 slug를 입력합니다.
pr-author: ${{ github.event.pull_request.user.login }}
pr-number: ${{ github.event.pull_request.number }}
secrets:
ORGANIZATION_TOKEN: ${{ secrets.ORGANIZATION_TOKEN }} # 재사용 워크플로우가 ORGANIZATION_TOKEN을 사용할 수 있도록 전달