[AN] 유저 어플 사용하지 않는 모델 정리 #221
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() |