Skip to content

ci: AWS ECS 배포 설정 #10

ci: AWS ECS 배포 설정

ci: AWS ECS 배포 설정 #10

Workflow file for this run

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: Setup Gradle
uses: gradle/gradle-build-action@v2
- 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:'