[AN] LiveData to Flow 리팩터링 (축제 목록, 마이페이지) #256
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: Opend Issue Notification | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
create-issue: | |
name: Send opend issue notification to slack | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Issue | |
uses: 8398a7/action-slack@v3 | |
with: | |
status: custom | |
custom_payload: | | |
{ | |
text: "*새로운 이슈가 생성되었습니다!*", | |
attachments: [{ | |
fallback: 'fallback', | |
color: '#1F7629', | |
title: 'Title', | |
text: '<${{ github.event.issue.html_url }}|${{ github.event.issue.title }}>', | |
fields: [{ | |
title: 'Issue number', | |
value: '#${{ github.event.issue.number }}', | |
short: true | |
}, | |
{ | |
title: 'Author', | |
value: '${{ github.event.issue.user.login }}', | |
short: true | |
}], | |
actions: [{ | |
}] | |
}] | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_WEBHOOK_URL }} | |
if: always() |