-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: 빌드 테스트 / 리뷰어 할당 | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, closed] | ||
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:' |