Skip to content

[AN] LifecycleOwner 확장함수 리팩터링 #258

[AN] LifecycleOwner 확장함수 리팩터링

[AN] LifecycleOwner 확장함수 리팩터링 #258

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()