앱 설치를 지원하지 않는 브라우저에서 안 나오는 것 수정 및 7일마다 물어보도록 수정하기 #15
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 토큰 |