Skip to content

Commit

Permalink
chore: 빌드 테스트 / 리뷰어 할당 워크플로우
Browse files Browse the repository at this point in the history
  • Loading branch information
h-beeen committed Mar 14, 2024
1 parent e99efc2 commit 49ba262
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 빌드 테스트 / 리뷰어 할당

on:
pull_request:
branches:
- 'develop'
- 'master'

jobs:
build_and_review_assign:
name: "[CI] Check Build/Testcases and Assign Reviewer"
runs-on: ubuntu-latest

steps:
- name: (Set Up) checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GIT_TOKEN }}
submodules: true

- name: (Set Up) Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: (Set Up) Grant Execute permission for gradlew
run: chmod 777 gradlew

- name: (Build) Build with Gradle
id: build
run: ./gradlew test -i

- name: (Assign Reviewer)
if: steps.build.outcome == 'success'
uses: hkusu/review-assign-action@v1
with:
assignees: ${{ github.actor }}
reviewers: HyungJu, h-beeen
ready-comment: '코드 리뷰 요청합니다 🙆 <reviewers>'
merged-comment: '성공적으로 Merge 되었습니다. Shout out to <reviewers> :wink:'

0 comments on commit 49ba262

Please sign in to comment.