내 랭킹정보 조회 기능 #13
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: Pull request comment (FE) | |
on: | |
issue_comment: | |
types: [created, edited, deleted] | |
defaults: | |
run: | |
working-directory: frontend | |
jobs: | |
pull_request_comment: | |
# This job only runs for pull request comments | |
if: ${{ github.event.issue.pull_request }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Slack notification When Review Completed | |
if: contains(github.event.comment.body, 'fe-리뷰완') # check the comment if it contains the keywords | |
uses: slackapi/[email protected] | |
with: | |
channel-id: ${{ secrets.SLACK_FE_CHANNEL }} # Slack 채널 ID | |
payload: | | |
{ | |
"text": "", | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "리뷰 완료했습니다👍\n<${{ github.event.comment.html_url }}|리뷰어의 코멘트 확인하러 가기>" | |
} | |
} | |
] | |
} | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_TOKEN }} # Slack 토큰 | |
- name: Send Slack notification When Re-review Requested | |
if: contains(github.event.comment.body, 'fe-리뷰요청') # check the comment if it contains the keywords | |
uses: slackapi/[email protected] | |
with: | |
channel-id: ${{ secrets.SLACK_FE_CHANNEL }} # Slack 채널 ID | |
payload: | | |
{ | |
"text": "", | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "리뷰 반영 최종 완료!✅ 확인 부탁드립니다😃\n<${{ github.event.comment.html_url }}|피드백 반영 확인하러 가기>" | |
} | |
} | |
] | |
} | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_TOKEN }} # Slack 토큰 |