🎨 만료된 토큰 체크하실 때, JWT_003 체크 #36
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: Slack Alarm | |
on: | |
pull_request: | |
types: | |
- opened | |
branches: [ "main", "dev" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: action-slack | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK}} | |
PR_TITLE: ${{ github.event.pull_request.title }} | |
PR_BODY: ${{ github.event.pull_request.body }} | |
PR_USER: ${{ github.event.pull_request.user.login }} | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
run: | | |
curl -X POST -H 'Content-type: application/json' --data '{ | |
"text": "*New Frontend PR!*\n>*Title*: ${PR_TITLE}\n>*User*: ${PR_USER}\n>*URL*: ${PR_URL}\n>*Description*: ${PR_BODY}" | |
}' $SLACK_WEBHOOK_URL |