[COZY-28] feat: Todo 수정기능 구현 #6
Workflow file for this run
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
name: PR 리뷰 봇 | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
review: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.REVIEW_AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.REVIEW_AWS_SECRET_ACCESS_KEY }} | |
aws-region: ${{ secrets.AWS_REGION }} | |
- name: Install dependencies | |
run: | | |
pip install boto3 requests | |
- name: Run PR Review | |
env: | |
GITHUB_TOKEN: ${{ secrets.REVIEW_GITHUB_TOKEN }} | |
GITHUB_REPOSITORY: ${{ github.repository }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
REVIEW_AWS_ACCESS_KEY_ID: ${{ secrets.REVIEW_AWS_ACCESS_KEY_ID }} | |
REVIEW_AWS_SECRET_ACCESS_KEY: ${{ secrets.REVIEW_AWS_SECRET_ACCESS_KEY }} | |
run: | | |
python .github/scripts/pr_review.py |