[fix] #115 - individaul user #42
Workflow file for this run
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: Notify Slack on PR Creation | |
on: | |
pull_request: | |
branches: | |
- develop | |
types: [opened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: action-slack | |
uses: 8398a7/action-slack@v3 | |
with: | |
status: ${{ job.status }} | |
text: "💚 PR이 생성되었습니다\n${{ github.event.pull_request.title }}" | |
author_name: ${{ steps.get_author_name.outputs.author_name }} | |
fields: repo,author # action,eventName,ref,workflow,job,took 추가할 수 있음 | |
mention: here | |
if_mention: failure,cancelled | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required | |
if: always() # Pick up events even if the job fails or is canceled. |