[AN] 예매 시 해당 학교 학생이 아니라면 학생용 티켓을 예매할 수 없다. #318
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() |